Difference between revisions of "PRIM TYPE"
Jump to navigation
Jump to search
m |
m |
||
Line 8: | Line 8: | ||
{{#vardefine:p_hole_size_desc|x ranges from 0.05 to 1.0; y ranges from 0.05 (large hole) to 0.50 (no hole)}} | {{#vardefine:p_hole_size_desc|x ranges from 0.05 to 1.0; y ranges from 0.05 (large hole) to 0.50 (no hole)}} | ||
{{#vardefine:p_top_size_desc|ranges from 0.0 to 1.0 for both x and y (z is ignored)}} | {{#vardefine:p_top_size_desc|ranges from 0.0 to 1.0 for both x and y (z is ignored)}} | ||
{{#vardefine:p_z_taper_desc|ranges from 0.0 to 2.0 for both x and y (z is ignored)}} | {{#vardefine:p_z_taper_hover|ranges from 0.0 to 2.0 for both x and y (z is ignored); see Caveats about the differences between the client and scripting range for this value}} | ||
{{#vardefine:p_z_taper_desc|ranges from 0.0 to 2.0 for both x and y (z is ignored)[[#z_taper|<span style="color:red;">!</span>]]}} | |||
{{#vardefine:p_top_shear_desc|ranges from -0.5 to 0.5 for both x and y (z is ignored)}} | {{#vardefine:p_top_shear_desc|ranges from -0.5 to 0.5 for both x and y (z is ignored)}} | ||
{{#vardefine:p_taper_desc|ranges from -1.0 to 1.0 for both x and y (z is ignored)}} | {{#vardefine:p_taper_desc|ranges from -1.0 to 1.0 for both x and y (z is ignored)}} | ||
Line 15: | Line 16: | ||
{{#vardefine:p_skew_desc|ranges from -1.0 to 1.0}} | {{#vardefine:p_skew_desc|ranges from -1.0 to 1.0}} | ||
<!-- The old PRIM_TYPE (PRIM_TYPE_LEGACY) variables --> | |||
{{#vardefine:p_twist_end_desc|ranges from -0.5 (-180 degree in the edit window) to 0.5 (+180 degree in the edit window)}} | {{#vardefine:p_twist_end_desc|ranges from -0.5 (-180 degree in the edit window) to 0.5 (+180 degree in the edit window)}} | ||
{{#vardefine:p_hole_size_y_desc|ranges from 0.05 (large hole) to 0.50 (no hole)}} | {{#vardefine:p_hole_size_y_desc|ranges from 0.05 (large hole) to 0.50 (no hole)}} | ||
Line 20: | Line 22: | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
}}{{LSL Constant | }}{{LSL Constant | ||
Line 27: | Line 27: | ||
|type=integer | |type=integer | ||
|value=9 | |value=9 | ||
|desc= | |desc=Gets or sets the type of the prim | ||
|examples | |examples | ||
|constants= | |constants= |
Revision as of 12:53, 16 March 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_TYPE = 9;The integer constant PRIM_TYPE has the value 9
Gets or sets the type of the prim
Caveats
Related Articles
Constants
• | PRIM_TYPE_BOX | |||
• | PRIM_TYPE_CYLINDER | |||
• | PRIM_TYPE_PRISM | |||
• | PRIM_TYPE_SPHERE | |||
• | PRIM_TYPE_TORUS | |||
• | PRIM_TYPE_TUBE | |||
• | PRIM_TYPE_RING | |||
• | PRIM_TYPE_SCULPT | |||
• | CHANGED_SHAPE |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |