uniscale joint

均等拡大縮小ジョイントの操作に使用する。
形状の一部として保持されている設定値をプラグイン/スクリプトから容易に取得するためのインターフェイス。


xshade
shape
uniscale_joint

プロパティ一覧

flat フラット
limit 範囲
pivot ピボット(中心)座標
range 範囲のオン/オフ
scale 拡大縮小率




xshade.scene().active_shape()(選択形状の取得)のように形状を取得して使用する。

プロパティ詳細

flat

フラット。

  • 取得
  • 設定

型 :
  bool : False : 階層、True : フラット

print xshade.scene().active_shape().uniscale_joint.flat

limit

範囲。

  • 取得
  • 設定

型 :
  float2

print xshade.scene().active_shape().uniscale_joint.limit

pivot

ピボット(中心)座標。

  • 取得
  • 設定

型 :
  vec3

print xshade.scene().active_shape().uniscale_joint.pivot

range

範囲のオン/オフ。

  • 取得
  • 設定

型 :
  bool

print xshade.scene().active_shape().uniscale_joint.range

scale

拡大縮小率。

  • 取得
  • 設定

型 :
  float

print xshade.scene().active_shape().uniscale_joint.scale