Difference between revisions of "PRIM SIZE"
Jump to navigation
Jump to search
Gally Young (talk | contribs) (Localized to french) |
Gally Young (talk | contribs) m (ooops) |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: | <onlyinclude>{{#if: | ||
{{#vardefine: | {{#vardefine:size_const|{{LSL Const|PRIM_SIZE|integer|7|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's size}}}} | ||
{{#vardefine: | {{#vardefine:p_size_desc|ranges from 0.01 to 10.0 for x, y and z}} | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_SIZE | |name=PRIM_SIZE | ||
|type=integer | |type=integer | ||
|value=7 | |value=7 | ||
|desc= | |desc=Returns or sets the prim's size. | ||
|pa={{LSL Constant/List | |pa={{LSL Constant/List|i_front=[ {{#var:size_const}}, |i_end= ] | ||
|text= | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=vector|i1_name= | |i1_type=vector|i1_name=size | ||
|toc=llSetPrimitiveParams | |toc=llSetPrimitiveParams | ||
}} | }} | ||
|pb={{LSL Constant/List | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:size_const}}|i_end= ]);| | ||
|r_front= | |r_front=Returns the list [ |r_end= ] | ||
|text | |text | ||
|r1_type=vector|r1_name= | |r1_type=vector|r1_name=size | ||
|toc=llGetPrimitiveParams | |toc=llGetPrimitiveParams | ||
}} | }} | ||
Line 26: | Line 26: | ||
|constants= | |constants= | ||
|functions= | |functions= | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llGetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llGetScale]]|}} | ||
{{LSL DefineRow||[[ | {{LSL DefineRow||[[llSetScale]]|}} | ||
|events= | |events= | ||
|location | |location | ||
|cat1=Prim | |cat1=Prim | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 09:24, 20 June 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 |