CHANGED TEXTURE/ja
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
解説
定数: integer CHANGED_TEXTURE = 0x10;integer 定数 CHANGED_TEXTURE の値は 0x10 です。
プリムのテクスチャ属性 (光沢・凹凸設定、繰り返し、反転、回転、オフセット) が変更されました。
透過度や色を変更すると、 CHANGED_COLOR イベントが発生します。 CHANGED_TEXTURE は発生しません。
関連記事
定数
• | CHANGED_COLOR |
関数
• | llSetTexture | |||
• | llScaleTexture | |||
• | llOffsetTexture | |||
• | llRotateTexture | |||
• | llSetPrimitiveParams | – | PRIM_TEXTURE | |
• | llSetLinkPrimitiveParams | – | PRIM_TEXTURE |
イベント
• | changed |
サンプル
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.");
}
}
}