Difference between revisions of "PRIM FLEXIBLE/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: <onlyinclude>{{#if: {{#vardefine:flexible_const|{{LSL Const/ja|PRIM_FLEXIBLE|integer|21|c=プリムのフレキシブル構成{{GetSet|{{{1|}}}|取得|設定|/}}するのに用いられ...)
 
m
 
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:flexible_const|{{LSL Const/ja|PRIM_FLEXIBLE|integer|21|c=プリムのフレキシブル構成{{GetSet|{{{1|}}}|取得|設定|/}}するのに用いられます。}}}}
{{#vardefine:flexible_const|{{LSL Const/ja|PRIM_FLEXIBLE|integer|21|c=この定数を使用して、プリムのフレキシブルパス設定を{{GetSet|{{{1|}}}|取得|設定|/}}します}}}}


<!-- A big of a hack but nobody has noticed thus far ~_~ -->
<!-- A big of a hack but nobody has noticed thus far ~_~ -->
{{#vardefine:p_flex_float_desc|0.0から10.0の範囲}}
{{#vardefine:p_flex_float_desc|0.0 ~ 10.0}}
{{#vardefine:p_flex_gravity_desc|-10.0 ~ 10.0}}
{{#vardefine:p_force_desc|}}
{{#vardefine:p_force_desc|}}
{{#vardefine:p_softness_desc|0から4の範囲}}
{{#vardefine:p_softness_desc|0 ~ 3}}


}}</onlyinclude>{{#if:
}}</onlyinclude>{{#if:
Line 16: Line 17:
|type=integer
|type=integer
|value=21
|value=21
|desc=プリムのフレキシブル構成を取得あるいは設定するのに用いられます。
|desc=この定数を使用して、プリムの [[flexible|フレキシブルパス設定]] を取得設定します。
|pa={{LSL Constant/List/ja|i_front=[&#32;{{#var:flexible_const}},&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List/ja|i_front=[&#32;{{#var:flexible_const}},&#32;|i_end=&nbsp;]
|text=[[llSetPrimitiveParams/ja|llSetPrimitiveParams]]と[[llSetLinkPrimitiveParams/ja|llSetLinkPrimitiveParams]]を実行するときに用いられます。
|text={{LSLG/ja|llSetPrimitiveParams}} や {{LSLG/ja|llSetLinkPrimitiveParams}} と一緒に使用された場合
|toc=llSetPrimitiveParams
|toc=llSetPrimitiveParams
|i1_type=integer|i1_name=boolean
|i1_type=integer|i1_name=boolean
|i2_type=integer|i2_name=softness
|i2_type=integer|i2_name=softness
|i3_type=float|i3_name=flex_float|i3_disp=gravity
|i3_type=float|i3_name=flex_gravity|i3_disp=gravity
|i4_type=float|i4_name=flex_float|i4_disp=friction
|i4_type=float|i4_name=flex_float|i4_disp=friction
|i5_type=float|i5_name=flex_float|i5_disp=wind
|i5_type=float|i5_name=flex_float|i5_disp=wind
Line 28: Line 29:
|i7_type=vector|i7_name=force
|i7_type=vector|i7_name=force
}}
}}
|pb={{LSL Constant/List/ja|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:flexible_const}}|i_end=&nbsp;]);|
|pb={{LSL Constant/List|i_front={{LSLG/ja|llGetPrimitiveParams}}([&nbsp;{{#var:flexible_const}}|i_end=&nbsp;]);|
|r_front=list [&nbsp;|r_end=&nbsp;]を返します。
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|toc=llGetPrimitiveParams
|toc=llGetPrimitiveParams
|text
|text
|r1_type=integer|r1_name=boolean
|r1_type=integer|r1_name=boolean
|r2_type=integer|r2_name=softness
|r2_type=integer|r2_name=softness
|r3_type=float|r3_name=flex_float|r3_disp=gravity
|r3_type=float|r3_name=flex_gravity|r3_disp=gravity
|r4_type=float|r4_name=flex_float|r4_disp=friction
|r4_type=float|r4_name=flex_float|r4_disp=friction
|r5_type=float|r5_name=flex_float|r5_disp=wind
|r5_type=float|r5_name=flex_float|r5_disp=wind
Line 44: Line 45:
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
<!--{{LSL ConstRow|CHANGED_SHAPE}}-->
|functions=
|functions=
{{LSL DefineRow||[[llSetPrimitiveParams/ja|llSetPrimitiveParams]]|}}
{{LSL DefineRow||{{LSLG/ja|llSetPrimitiveParams}}|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams/ja|llSetLinkPrimitiveParams]]|}}
{{LSL DefineRow||{{LSLG/ja|llSetLinkPrimitiveParams}}|}}
{{LSL DefineRow||[[llGetPrimitiveParams/ja|llGetPrimitiveParams]]|}}
{{LSL DefineRow||{{LSLG/ja|llGetPrimitiveParams}}|}}
|events=
|events=
<!--{{LSL DefineRow||[[changed]]|}}-->
<!--{{LSL DefineRow||{{LSLG/ja|changed}}|}}-->
|location
|location
|cat1=Prim
|cat1=Prim

Latest revision as of 06:26, 8 June 2010

解説

定数: 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 ~ 3
• float gravity -10.0 ~ 10.0
• float friction 0.0 ~ 10.0
• float wind 0.0 ~ 10.0
• float tension 0.0 ~ 10.0
• vector force

llSetPrimitiveParamsllSetLinkPrimitiveParams と一緒に使用された場合

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_FLEXIBLE ]);

Returns the list [ integer boolean, integer softness, float gravity, float friction, float wind, float tension, vector force ]

• integer boolean TRUE ならば有効 、 FALSE ならば無効
• integer softness 0 ~ 3
• float gravity -10.0 ~ 10.0
• float friction 0.0 ~ 10.0
• float wind 0.0 ~ 10.0
• float tension 0.0 ~ 10.0
• vector force

特記事項

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