Difference between revisions of "ALL SIDES"

From Second Life Wiki
Jump to navigation Jump to search
m (I don't think knowing that -1 is 0xFFFFFFFF is useful or pertinant to this article.)
(missing desc)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|type=integer
|type=integer
|value=-1
|value=-1
|desc=
|desc=Selects all sides of an object in an applicable function.
|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 16:38, 28 October 2023

Description

Constant: integer ALL_SIDES = -1;

The integer constant ALL_SIDES has the value -1

Selects all sides of an object in an applicable function.

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;