Difference between revisions of "ALL SIDES"
Jump to navigation
Jump to search
m (<lsl> tag to <source>) |
|||
(10 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||[[llGetAlpha]]|}} | {{LSL DefineRow||[[llGetAlpha]]|}} | ||
Line 21: | Line 29: | ||
{{LSL DefineRow||[[llSetLinkAlpha]]|}} | {{LSL DefineRow||[[llSetLinkAlpha]]|}} | ||
{{LSL DefineRow||[[llSetLinkColor]]|}} | {{LSL DefineRow||[[llSetLinkColor]]|}} | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | |||
{{LSL DefineRow||[[llSetLinkTexture]]|}} | |||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llSetTexture]]|}} | {{LSL DefineRow||[[llSetTexture]]|}} | ||
Line 26: | Line 36: | ||
|events | |events | ||
|cat1=Face | |cat1=Face | ||
|cat2 | |cat2=Texture | ||
|cat3 | |cat3=Alpha | ||
|cat4 | |cat4=Color | ||
}} | }} |
Revision as of 16:11, 22 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Caveats
Related Articles
Functions
Examples
default
{
state_entry()
{
string texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
llSetTexture(texture, ALL_SIDES);
}
}