Difference between revisions of "LlGetScale"
Jump to navigation
Jump to search
m (LSL llGetScale moved to LlGetScale) |
m (<lsl> tag to <source>) |
||
(3 intermediate revisions by 3 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= | ||
{{LSL DefineRow||[[llSetScale]]|Sets the prims size}} | {{LSL DefineRow||[[llSetScale]]|Sets the prims size}} | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|Sets prims attributes}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|Sets prims attributes}} | ||
{{LSL DefineRow||[[llGetPrimitiveParams]]|Gets prims attributes}} | {{LSL DefineRow||[[llGetPrimitiveParams]]|Gets prims attributes}} | ||
|also_tests | |also_tests | ||
|also_events | |also_events |
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 |