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