CHANGED TEXTURE
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Description
! Constant: integer CHANGED_TEXTURE = 0x10;The integer constant CHANGED_TEXTURE has the value 0x10
Prim texture parameters (shine/bump setting, repeats, flip, rotation, or offset) have changed.
Transparency or color changes trigger a CHANGED_COLOR event not a CHANGED_TEXTURE event.
Related Articles
Constants
| • | CHANGED_COLOR |
Functions
| • | llSetTexture | |||
| • | llScaleTexture | |||
| • | llOffsetTexture | |||
| • | llRotateTexture | |||
| • | llSetPrimitiveParams | – | PRIM_TEXTURE | |
| • | llSetLinkPrimitiveParams | – | PRIM_TEXTURE |
Events
| • | changed |
Examples
default { changed(integer change) { if (change & CHANGED_TEXTURE) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prims texture or texture attributes have changed."); } } }

