CHANGED TEXTURE/ja

From Second Life Wiki

Jump to: navigation, search

Contents

Description

Constant: integer CHANGED_TEXTURE = 0x10;

integerの定数CHANGED_TEXTUREは0x10の値をもちます。

プリムのテクスチャパラメータ(反射/くぼみ設定、繰り返し、反転、回転、またはオフセット)が変更しました。 透明度か色の変更はCHANGED_TEXTUREイベントではなくCHANGED_COLORイベントを作動します。

関連項目

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