switch effector

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


xshade
shape
switch_effector

プロパティ一覧

limit 範囲
range 範囲のオン/オフ
selection 選択




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

プロパティ詳細

limit

範囲。

  • 取得
  • 設定

型 :
  float2

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

range

範囲のオン/オフ。

  • 取得
  • 設定

型 :
  bool

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

selection

選択。

  • 取得
  • 設定

型 :
  int

print xshade.scene().active_shape().switch_effector.selection