CHANGED_RENDER_MATERIAL
constant
Constant
integer CHANGED_RENDER_MATERIAL = 0x1000;Render material (prim material ID or material overrides) has changed on one or more faces.
Constant groups
Other ChangeType values (12)
CHANGED_ALLOWED_DROP0x40CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_LINK0x20CHANGED_MEDIA0x800CHANGED_OWNER0x80CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_SCALE0x8CHANGED_SHAPE0x4CHANGED_TELEPORT0x200CHANGED_TEXTURE0x10
Prim material ID or material overrides have changed on one or more faces.
Examples
Section titled “Examples”Example 1
default{ changed(integer change) { if (change & CHANGED_RENDER_MATERIAL) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prim's material ID and/or overrides have changed on one or more faces."); } }}See also
Section titled “See also”Functions
Section titled “Functions”llSetRenderMaterialllGetRenderMaterial- llSetPrimitiveParams —
PRIM_RENDER_MATERIAL - llSetLinkPrimitiveParams —
PRIM_RENDER_MATERIAL
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.