Difference between revisions of "PRIM TYPE"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: | <onlyinclude>{{#if: | ||
{{LSL_Function/inventory|map|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}} | |||
{{#vardefine:p_hole_shape_desc|PRIM_HOLE_* flag}} | |||
{{#vardefine:p_cut_desc|x and y range from 0.0 to 1.0, x must be at least 0.05 smaller than y (z is ignored)}} | |||
{{#vardefine:p_hollow_desc|ranges from 0.0 (solid) to 0.95 (maximum hollowed)}} | |||
{{#vardefine:p_twist_box_desc|ranges from -0.5 (-180 degree in the edit window) to 0.5 (+180 degree in the edit window) for both x and y (z is ignored)}} | |||
{{#vardefine:p_twist_torus_desc|ranges from -1.0 (-360 degree in the edit window) to 1.0 (+360 degree in the edit window) for both x and y (z is ignored)}} | |||
{{#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_z_taper_desc|ranges from 0.0 to 2.0 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_revolutions_desc|ranges from 1.0 to 4.00}} | |||
{{#vardefine:p_radius_offset_desc|depends on holesize y and revolutions}} | |||
{{#vardefine:p_skew_desc|ranges from -1.0 to 1.0}} | |||
{{#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_topshear_x_desc|ranges from 0.05 to 0.50}} | |||
{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}} | |||
}}<onlyinclude>{{#if: | }}<onlyinclude>{{#if: |
Revision as of 18:43, 17 April 2008
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
Sets the type of the prim
Caveats
- If map is missing from the prim's inventory and it is not a UUID or it is not a texture then an error is shouted on DEBUG_CHANNEL.
- If map is a UUID then there are no new asset permissions consequences for the object.
- The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
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 |