Difference between revisions of "PRIM SIZE"
Jump to navigation
Jump to search
m (fixing mistakes) |
m |
||
Line 15: | Line 15: | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=vector|i1_name=size | |i1_type=vector|i1_name=size | ||
|toc=llSetPrimitiveParams | |||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:size_const}}|i_end= ]);| | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:size_const}}|i_end= ]);| | ||
Line 20: | Line 21: | ||
|text | |text | ||
|r1_type=vector|r1_name=size | |r1_type=vector|r1_name=size | ||
|toc=llGetPrimitiveParams | |||
}} | }} | ||
|examples | |examples |
Revision as of 10:18, 23 May 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 |