PRIM FLEXIBLE/ja
< PRIM FLEXIBLE
Jump to navigation
Jump to search
Revision as of 04:53, 29 June 2008 by Asuka Neely (talk | contribs) (New page: <onlyinclude>{{#if: {{#vardefine:flexible_const|{{LSL Const/ja|PRIM_FLEXIBLE|integer|21|c=プリムのフレキシブル構成{{GetSet|{{{1|}}}|取得|設定|/}}するのに用いられ...)
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
解説
定数: integer PRIM_FLEXIBLE = 21;integer 定数 PRIM_FLEXIBLE の値は 21 です。
プリムのフレキシブル構成を取得あるいは設定するのに用いられます。
llSetPrimitiveParams
[ PRIM_FLEXIBLE, integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]• integer | boolean | – | TRUE ならば有効 、 FALSE ならば無効 | |
• integer | softness | – | 0から4の範囲 | |
• float | gravity | – | 0.0から10.0の範囲 | |
• float | friction | – | 0.0から10.0の範囲 | |
• float | wind | – | 0.0から10.0の範囲 | |
• float | tension | – | 0.0から10.0の範囲 | |
• vector | force |
llSetPrimitiveParamsとllSetLinkPrimitiveParamsを実行するときに用いられます。
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_FLEXIBLE ]);list [ integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]を返します。
• integer | boolean | – | TRUE ならば有効 、 FALSE ならば無効 | |
• integer | softness | – | 0から4の範囲 | |
• float | gravity | – | 0.0から10.0の範囲 | |
• float | friction | – | 0.0から10.0の範囲 | |
• float | wind | – | 0.0から10.0の範囲 | |
• float | tension | – | 0.0から10.0の範囲 | |
• vector | force |