Difference between revisions of "CHANGED SHAPE/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL Constant/ja |name=CHANGED_SHAPE |type=integer |value={{LSL Hex|0x4}} |desc=プリムタイプ(ボックス、プリズム、トータス…)あるいは形状(テイパー、...)
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
|name=CHANGED_SHAPE
|name=CHANGED_SHAPE
|type=integer
|type=integer
|value={{LSL Hex|0x4}}
|value={{LSL Hex/ja|0x4}}
|desc=プリムタイプ(ボックス、プリズム、トータス…)あるいは形状(テイパー、ツイスト、カット)が変更されます。
|desc=プリムタイプ(ボックス、プリズム、トータス…)あるいは形状(テイパー、ツイスト、カット)が変更されました。
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
Line 16: Line 16:
     }
     }
}
}
</lsl>
</source>
|functions=
|functions=
{{LSL DefineRow||[[llSetPrimitiveParams/ja|llSetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetPrimitiveParams/ja|llSetPrimitiveParams]]|}}

Latest revision as of 15:06, 25 February 2016

解説

定数: integer CHANGED_SHAPE = 0x4;

integer 定数 CHANGED_SHAPE の値は 0x4 です。

プリムタイプ(ボックス、プリズム、トータス…)あるいは形状(テイパー、ツイスト、カット)が変更されました。

関連記事

関数

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams

イベント

•  changed

サンプル

default
{
    changed(integer change)
    {
        if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prim's shape has changed.");
        }
    }
}

特記事項

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