Difference between revisions of "ALL SIDES"

From Second Life Wiki
Jump to: navigation, search
m (I don't think knowing that -1 is 0xFFFFFFFF is useful or pertinant to this article.)
Line 3: Line 3:
 
|type=integer
 
|type=integer
 
|value=-1
 
|value=-1
|dvalue={{HoverText|-1|0x{{LSL Hex/Write|-1}}}}
 
 
|desc=
 
|desc=
 
|examples=<lsl>
 
|examples=<lsl>

Revision as of 14:03, 12 January 2012

Description

Constant: integer ALL_SIDES = -1;

The integer constant ALL_SIDES has the value -1

Examples

<lsl> default {

   state_entry()
   {
       string texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
       llSetTexture(texture, ALL_SIDES);
   }

}</lsl>

Deep Notes

Search JIRA for related Issues

Signature

integer ALL_SIDES = -1;