ALL SIDES

From Second Life Wiki
Jump to navigation Jump to search

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.

Caveats


Examples

<source lang="lsl2"> default {

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

}</source>

Deep Notes

Search JIRA for related Issues

Signature

integer ALL_SIDES = -1;