CHANGED COLOR/ja

From Second Life Wiki
< CHANGED COLOR
Revision as of 20:44, 1 January 2008 by Asuka Neely (talk | contribs) (New page: {{LSL Constant/ja |name=CHANGED_COLOR |type=integer |value={{LSL Hex|0x2}} |desc=プリムの色、あるいは透過のパラメータを変更します。 |examples= <pre> default { ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

解説

定数: integer CHANGED_COLOR = 0x2;

integer 定数 CHANGED_COLOR の値は 0x2 です。

プリムの色、あるいは透過のパラメータを変更します。

関連記事

関数

•  llSetAlpha プリムの透過値を設定します。
•  llSetColor プリムの色を設定します。
•  llSetPrimitiveParams プリムのパラメータ群を設定します。
•  llSetLinkAlpha リンクしているプリムの透過値を設定します。
•  llSetLinkColor リンクしているプリムの色を設定します。
•  llSetLinkPrimitiveParams リンクしているプリムのパラメータ群を設定します。

イベント

•  changed

サンプル

default
{
    changed(integer change)
    {
        if (change & CHANGED_COLOR) //&であり、&&ではありません。これはビット演算です!
        {
            llOwnerSay("The color or alpha changed.");
        }
    }
}

特記事項

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