Difference between revisions of "ALL SIDES"

From Second Life Wiki
Jump to navigation Jump to search
m
(<lsl> example)
Line 5: Line 5:
|value={{HoverText|-1|0x{{LSL Hex/Write|-1}}}}
|value={{HoverText|-1|0x{{LSL Hex/Write|-1}}}}
|desc=
|desc=
|examples
|examples=<lsl>
default
{
    state_entry()
    {
        string texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
        llSetTexture(texture, ALL_SIDES);
    }
}</lsl>
|functions=
|functions=
{{LSL DefineRow||[[llGetAlpha]]|}}
{{LSL DefineRow||[[llGetAlpha]]|}}

Revision as of 17:56, 31 December 2007

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 = <span title="0xFFFFFFFF" style="border-bottom:1px dotted; cursor:help;">-1</span>;