CHANGED RENDER MATERIAL

From Second Life Wiki
Revision as of 19:37, 5 January 2026 by Lucia Nightfire (talk | contribs) (Removed "future feature" warning banner.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description

Constant: integer CHANGED_RENDER_MATERIAL = 0x1000;

The integer constant CHANGED_RENDER_MATERIAL has the value 0x1000

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

Caveats


Examples

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

Deep Notes

Search Canny for related Issues

Signature

integer CHANGED_RENDER_MATERIAL = 0x1000;