Difference between revisions of "ALL SIDES"

From Second Life Wiki
Jump to navigation Jump to search
m (<lsl> tag to <source>)
(12 intermediate revisions by 4 users not shown)
Line 4: Line 4:
|value=-1
|value=-1
|desc=
|desc=
|examples
|examples=<source lang="lsl2">
default
{
    state_entry()
    {
        string texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
        llSetTexture(texture, ALL_SIDES);
    }
}</source>
|functions=
|functions=
{{LSL DefineRow||lGetColor|}}
{{LSL DefineRow||[[llGetAlpha]]|}}
{{LSL DefineRow||lGetNumberOfSides|}}
{{LSL DefineRow||[[llGetColor]]|}}
{{LSL DefineRow||lGetPrimitiveParams|}}
{{LSL DefineRow||[[llGetNumberOfSides]]|}}
{{LSL DefineRow||lGetTexture|}}
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}
{{LSL DefineRow||lGetTextureOffset|}}
{{LSL DefineRow||[[llGetTexture]]|}}
{{LSL DefineRow||lGetTextureRot|}}
{{LSL DefineRow||[[llGetTextureOffset]]|}}
{{LSL DefineRow||lGetTextureScale|}}
{{LSL DefineRow||[[llGetTextureRot]]|}}
{{LSL DefineRow||lOffsetTexture|}}
{{LSL DefineRow||[[llGetTextureScale]]|}}
{{LSL DefineRow||lRotateTexture|}}
{{LSL DefineRow||[[llOffsetTexture]]|}}
{{LSL DefineRow||lScaleTexture|}}
{{LSL DefineRow||[[llRotateTexture]]|}}
{{LSL DefineRow||lSetAlpha|}}
{{LSL DefineRow||[[llScaleTexture]]|}}
{{LSL DefineRow||lSetColor|}}
{{LSL DefineRow||[[llSetAlpha]]|}}
{{LSL DefineRow||lSetLinkAlpha|}}
{{LSL DefineRow||[[llSetColor]]|}}
{{LSL DefineRow||lSetLinkColor|}}
{{LSL DefineRow||[[llSetLinkAlpha]]|}}
{{LSL DefineRow||lSetPrimitiveParams|}}
{{LSL DefineRow||[[llSetLinkColor]]|}}
{{LSL DefineRow||lSetTexture|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}
{{LSL DefineRow||lSetTextureAnim|}}
{{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
}}
}}

Revision as of 16:11, 22 January 2015

Description

Constant: integer ALL_SIDES = -1;

The integer constant ALL_SIDES has the value -1

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;