light effector

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


xshade
shape
light_effector

プロパティ一覧

flat フラット
limit 範囲
range 範囲のオン/オフ
value スライダ




プロパティ詳細

flat

フラット。

  • 取得
  • 設定

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

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

limit

範囲。

  • 取得
  • 設定

型 :
  float2

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

range

範囲のオン/オフ。

  • 取得
  • 設定

型 :
  bool

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

value

スライダ。

  • 取得
  • 設定

型 :
  float

print xshade.scene().active_shape().light_effector.value