Difference between revisions of "PRIM SIZE"
Jump to navigation
Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_SIZE |type=integer |value=7 |desc=Returns or sets the prim's size. |pa= |text= |pb= |examples |constants= |functions= ...) |
|||
Line 1: | Line 1: | ||
{{#if: | <onlyinclude>{{#if: | ||
{{ | |||
{{#vardefine:size_const|{{LSL Const|PRIM_SIZE|integer|7|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's size}}}} | |||
{{#vardefine:p_position_desc|}} | |||
}}</onlyinclude>{{#if: | |||
{{#vardefine:p_size_desc|ranges from 0.01 to 10.0 for x, y and z}} | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_SIZE | |name=PRIM_SIZE | ||
Line 6: | Line 14: | ||
|value=7 | |value=7 | ||
|desc=Returns or sets the prim's size. | |desc=Returns or sets the prim's size. | ||
|pa= | |pa={{LSL Constant/List|i_front=[ {{#var:size_const}}, |i_end= ] | ||
|text= | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|pb= | |i1_type=vector|i1_name=size | ||
}} | |||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:size_const}}|i_end= ]);| | |||
|r_front=Returns the list [ |r_end= ] | |||
|text | |||
|r1_type=vector|r1_name=size | |||
}} | |||
|examples | |examples | ||
|constants= | |constants= | ||
Line 15: | Line 29: | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llGetScale]]|}} | |||
{{LSL DefineRow||[[llSetScale]]|}} | |||
|events= | |events= | ||
|location | |location |
Revision as of 20:53, 17 April 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.
[ PRIM_SIZE, vector size ]
[ PRIM_SIZE, vector size ]• vector | size | – | ranges from 0.01 to 10.0 for x, y and z |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams([ PRIM_SIZE ]);
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 |