Skip to content
lsl.devlsl.devLSL Dev

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

ChangeType

Other ChangeType values (12)

Prim material ID or material overrides have changed on one or more faces.

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.");
}
}
}
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.