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.)
m (<lsl> tag to <source>)
 
Line 4: Line 4:
 
|value=-1
 
|value=-1
 
|desc=
 
|desc=
|examples=<lsl>
+
|examples=<source lang="lsl2">
 
default
 
default
 
{
 
{
Line 12: Line 12:
 
         llSetTexture(texture, ALL_SIDES);
 
         llSetTexture(texture, ALL_SIDES);
 
     }
 
     }
}</lsl>
+
}</source>
 
|functions=
 
|functions=
 
{{LSL DefineRow||[[llGetAlpha]]|}}
 
{{LSL DefineRow||[[llGetAlpha]]|}}

Latest revision as of 15:11, 22 January 2015

Description

Constant: integer ALL_SIDES = -1;

The integer constant ALL_SIDES has the value -1

Examples

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

Deep Notes

Search JIRA for related Issues

Signature

integer ALL_SIDES = -1;