カスタムジョイントの操作に使用する。
形状の一部として保持されている設定値をプラグイン/スクリプトから容易に取得するためのインターフェイス。
カスタムジョイントは値のみを持ったジョイントで、他のジョイントと異なり、下位階層に影響を与えない。
xshade |
↑ |
shape |
↑ |
custom_joint |
limit | 範囲 |
range | 範囲のオン/オフ |
value | スライダ |
limit
範囲。
型 :
float2
print xshade.scene().active_shape().custom_joint.limit
range
範囲のオン/オフ。
型 :
bool
print xshade.scene().active_shape().custom_joint.range
value
スライダ。
型 :
float
print xshade.scene().active_shape().custom_joint.value