Difference between revisions of "ALL SIDES"
Jump to navigation
Jump to search
Frionil Fang (talk | contribs) (missing desc) |
|||
(13 intermediate revisions by 5 users 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 | |examples=<source lang="lsl2"> | ||
default | |||
{ | |||
state_entry() | |||
{ | |||
string texture = llGetInventoryName(INVENTORY_TEXTURE, 0); | |||
llSetTexture(texture, ALL_SIDES); | |||
} | |||
}</source> | |||
|functions= | |functions= | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetAlpha]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetColor]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetNumberOfSides]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetPrimitiveParams]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetTexture]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetTextureOffset]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetTextureRot]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llGetTextureScale]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llOffsetTexture]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llRotateTexture]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llScaleTexture]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llSetAlpha]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llSetColor]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llSetLinkAlpha]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llSetLinkColor]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow|| | {{LSL DefineRow||[[llSetLinkTexture]]|}} | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | |||
{{LSL DefineRow||[[llSetTexture]]|}} | |||
{{LSL DefineRow||[[llSetTextureAnim]]|}} | |||
|events | |events | ||
|cat1=Face | |cat1=Face | ||
|cat2 | |cat2=Texture | ||
|cat3 | |cat3=Alpha | ||
|cat4 | |cat4=Color | ||
}} | }} |
Latest revision as of 15: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);
}
}