Difference between revisions of "PRIM ROT LOCAL/ja"
Jump to navigation
Jump to search
Mizu Melody (talk | contribs) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: | <onlyinclude>{{#if: | ||
{{#vardefine:rot_local_const|{{LSL Const|PRIM_ROT_LOCAL|integer|29|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local rotation}}}} | {{#vardefine:rot_local_const|{{LSL Const/ja|PRIM_ROT_LOCAL|integer|29|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's local rotation}}}} | ||
{{#vardefine:p_rot_desc|Any valid rotation}} | {{#vardefine:p_rot_desc|Any valid rotation}} | ||
Line 46: | Line 46: | ||
{{LSL DefineRow||[[llSetPrimitiveParams/ja|llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams/ja|llSetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParams/ja|llSetLinkPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetLinkPrimitiveParams/ja|llSetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParamsFast/ja|llSetLinkPrimitiveParamsFast]]|}} | |||
{{LSL DefineRow||[[llGetRot/ja|llGetRot]]|}} | {{LSL DefineRow||[[llGetRot/ja|llGetRot]]|}} | ||
{{LSL DefineRow||[[llSetRot/ja|llSetRot]]|}} | {{LSL DefineRow||[[llSetRot/ja|llSetRot]]|}} | ||
Line 55: | Line 56: | ||
<!--{{LSL DefineRow||[[changed]]|}}--> | <!--{{LSL DefineRow||[[changed]]|}}--> | ||
|location | |location | ||
|cat1=Prim | |cat1=Prim/ja | ||
|cat2=Rotation | |cat2=Rotation/ja | ||
|cat3=Movement | |cat3=Movement/ja | ||
|cat4 | |cat4 | ||
}} | }} |
Latest revision as of 00:08, 8 October 2023
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
解説
定数: integer PRIM_ROT_LOCAL = 29;integer 定数 PRIM_ROT_LOCAL の値は 29 です。
オブジェクトのローカル回転を取得したり設定したりするのに使います。
llSetPrimitiveParams
llSetPrimitiveParams([ PRIM_ROT_LOCAL, rotation rot ]);• rotation | rot | – | Any valid rotation |
構文: llSetPrimitiveParams, llSetLinkPrimitiveParams & llSetLinkPrimitiveParamsFast
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_ROT_LOCAL ]);Returns the list [ rotation rot ]
• rotation | rot | – | Any valid rotation |