Difference between revisions of "ALL SIDES"
Jump to navigation
Jump to search
(<lsl> example) |
Frionil Fang (talk | contribs) (missing desc) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{LSL Constant | {{LSL Constant | ||
|name=ALL_SIDES | |name=ALL_SIDES | ||
|type=integer | |type=integer | ||
|value= | |value=-1 | ||
|desc= | |desc=Selects all sides of an object in an applicable function. | ||
|examples=< | |examples=<source lang="lsl2"> | ||
default | default | ||
{ | { | ||
Line 13: | Line 12: | ||
llSetTexture(texture, ALL_SIDES); | llSetTexture(texture, ALL_SIDES); | ||
} | } | ||
}</ | }</source> | ||
|functions= | |functions= | ||
{{LSL DefineRow||[[llGetAlpha]]|}} | {{LSL DefineRow||[[llGetAlpha]]|}} |
Latest revision as of 16:38, 28 October 2023
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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
Related Articles
Functions
Examples
default
{
state_entry()
{
string texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
llSetTexture(texture, ALL_SIDES);
}
}