直線移動ジョイントの操作に使用する。
形状の一部として保持されている設定値をプラグイン/スクリプトから容易に取得するためのインターフェイス。
xshade |
↑ |
shape |
↑ |
slider_joint |
blend | ブレンド |
ending_position | 終了座標 |
flat | フラット |
limit | 範囲 |
range | 範囲のオン/オフ |
slide | スライド |
starting_position | 開始座標 |
blend
ブレンド。
型 :
float
print xshade.scene().active_shape().slider_joint.blend
ending_position
終了座標。
型 :
vec3
print xshade.scene().active_shape().slider_joint.ending_position
flat
フラット。
型 :
bool : False : 階層、True : フラット
print xshade.scene().active_shape().slider_joint.flat
limit
範囲。
型 :
float2
print xshade.scene().active_shape().slider_joint.limit
range
範囲のオン/オフ。
型 :
bool
print xshade.scene().active_shape().slider_joint.range
slide
スライド。
型 :
float
print xshade.scene().active_shape().slider_joint.slide
starting_position
開始座標。
型 :
vec3
print xshade.scene().active_shape().slider_joint.starting_position