CHANGED TEXTURE/ja

From Second Life Wiki
Jump to navigation Jump to search

解説

定数: integer CHANGED_TEXTURE = 0x10;

integer 定数 CHANGED_TEXTURE の値は 0x10 です。

プリムのテクスチャ属性 (光沢・凹凸設定、繰り返し、反転、回転、オフセット) が変更されました。

透過度や色を変更すると、 CHANGED_COLOR イベントが発生します。 CHANGED_TEXTURE は発生しません。

関連記事

サンプル

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

特記事項

全ての記事

~ JIRA で関連記事を検索
   CHANGED_TEXTURE is not triggered when texture is changed via script
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)