Difference between revisions of "LlGetScale"
Jump to navigation
Jump to search
m (<lsl> tag to <source>) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples | |examples=<source lang="lsl2">default | ||
{ | |||
touch_start(integer total_number) | |||
{ | |||
llSay(0, "My dimensions are: " + (string)llGetScale()); | |||
} | |||
}</source> | |||
|helpers | |helpers | ||
|also_functions= | |also_functions= |
Latest revision as of 02:50, 22 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetScale( );48 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the scale of the prim.
Caveats
Examples
default
{
touch_start(integer total_number)
{
llSay(0, "My dimensions are: " + (string)llGetScale());
}
}
See Also
Functions
• | llSetScale | – | Sets the prims size | |
• | llSetPrimitiveParams | – | Sets prims attributes | |
• | llGetPrimitiveParams | – | Gets prims attributes |