Difference between revisions of "PRIM SIZE/ja"

From Second Life Wiki
Jump to navigation Jump to search
(最大値修正)
 
Line 24: Line 24:
}}
}}
|examples=
|examples=
<lsl>//プリムのサイズと回転を変更します。
<source lang="lsl2">//プリムのサイズと回転を変更します。
default
default
{
{
Line 34: Line 34:
       ]);
       ]);
   }
   }
} </lsl>
} </source>
|constants=
|constants=
|functions=
|functions=

Latest revision as of 13:56, 25 February 2016

解説

定数: integer PRIM_SIZE = 7;

integer 定数 PRIM_SIZE の値は 7 です。

プリムの大きさを取得設定します。

llSetPrimitiveParams

[ PRIM_SIZE, vector size ]
• vector size x, y, z それぞれについて 0.01 ~ 64.0 の範囲

llSetPrimitiveParamsllSetLinkPrimitiveParams と一緒に使用されたとき

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_SIZE ]);

vector size ] のリストを返します。

• vector size x, y, z それぞれについて 0.01 ~ 64.0 の範囲

関連記事

サンプル

//プリムのサイズと回転を変更します。
default
{
  touch_start(integer total_number)
  {
    llSetPrimitiveParams([
        PRIM_SIZE, <0.25,0.5,1.0>,
        PRIM_ROTATION, <1.0, 0.0, 0.0, 0.0>
      ]);
  }
}

特記事項

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