Difference between revisions of "PRIM TYPE"

From Second Life Wiki
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_hole_shape_desc|PRIM_HOLE_* flag}}
Line 21: Line 19:
{{#vardefine:p_topshear_x_desc|ranges from 0.05 to 0.50}}
{{#vardefine:p_topshear_x_desc|ranges from 0.05 to 0.50}}


{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}}
}}</onlyinclude>{{#if:


}}</onlyinclude>{{#if:
{{:PRIM_TYPE_SCULPT}}


}}{{LSL Constant
}}{{LSL Constant

Revision as of 01:29, 20 April 2008

Description

Constant: integer PRIM_TYPE = 9;

The integer constant PRIM_TYPE has the value 9

Sets the type of the prim

Caveats

  • The value of map is NULL_KEY when the owner does not have full permissions to the object and the map asset is not in the prim's inventory.
  • 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.
All Issues ~ Search JIRA for related Bugs

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_TYPE = 9;