変形ジョイントの操作に使用する。
形状の一部として保持されている設定値をプラグイン/スクリプトから容易に取得するためのインターフェイス。
xshade |
↑ |
shape |
↑ |
morph_effector |
limit | 範囲 |
morph | 変形量 |
range | 範囲のオン/オフ |
xshade.scene().active_shape()(選択形状の取得)のように形状を取得して使用する。
limit
範囲。
型 :
float2
print xshade.scene().active_shape().morph_effector.limit
morph
変形量。
型 :
float : 変形量
print xshade.scene().active_shape().morph_effector.morph
range
範囲のオン/オフ。
型 :
bool
print xshade.scene().active_shape().morph_effector.range