CHANGED TEXTURE/ja

From Second Life Wiki
< CHANGED TEXTURE
Revision as of 03:40, 5 August 2009 by Wiki Scribe (talk | contribs) (Robot: <pre> -> <lsl>)
Jump to navigation Jump to search

解説

定数: integer CHANGED_TEXTURE = 0x10;

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

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

関連記事

サンプル

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

} </lsl>

特記事項

この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)