PRIM SIZE: Difference between revisions
Jump to navigation
Jump to search
Gally Young (talk | contribs) m ooops |
No edit summary |
||
| Line 24: | Line 24: | ||
}} | }} | ||
|examples | |examples | ||
<lsl> | |||
//MathieuBC Noel scripter | |||
default | |||
{ | |||
touch_start(integer total_number) | |||
{ | |||
llSetPos( llGetScale( )+ llGetPos() + <0,0,-1>); | |||
llGetPrimitiveParams([ PRIM_SIZE, <1.148,0.081,0.313> ]); | |||
} | |||
} | |||
} | |||
</lsl> | |||
llGetPrimitiveParams([ PRIM_SIZE, <1.148,0.081,0.313> ]); | |||
|constants= | |constants= | ||
|functions= | |functions= | ||
Revision as of 10:27, 6 December 2008
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_SIZE = 7;The integer constant PRIM_SIZE has the value 7
Returns or sets the prim's size.
llSetPrimitiveParams
[ PRIM_SIZE, vector size ]| • vector | size | – | ranges from 0.01 to 10.0 for x, y and z |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_SIZE ]);Returns the list [ vector size ]
| • vector | size | – | ranges from 0.01 to 10.0 for x, y and z |
Caveats
Related Articles
Functions
| • | llGetPrimitiveParams | |||
| • | llSetPrimitiveParams | |||
| • | llSetLinkPrimitiveParams | |||
| • | llGetScale | |||
| • | llSetScale |