CHANGED_TEXTURE
constant
Constant
integer CHANGED_TEXTURE = 0x10;Constant groups
Other ChangeType values (12)
CHANGED_ALLOWED_DROP0x40CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_LINK0x20CHANGED_MEDIA0x800CHANGED_OWNER0x80CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_RENDER_MATERIAL0x1000CHANGED_SCALE0x8CHANGED_SHAPE0x4CHANGED_TELEPORT0x200
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.
Examples
Section titled “Examples”Example 1
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."); } }}Known issues
Section titled “Known issues”- SVC-914:
CHANGED_TEXTUREis not triggered when texture is changed via script
See also
Section titled “See also”Constants
Section titled “Constants”Functions
Section titled “Functions”llSetTexturellScaleTexturellOffsetTexturellRotateTexture- llSetPrimitiveParams —
PRIM_TEXTURE - llSetLinkPrimitiveParams —
PRIM_TEXTURE
Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.