This represents the interface to the node’s Layer Properties. These properties correspond to UI controls found in different areas of the Object Properties dialog.
Properties:
<node>.layer : Interface : Read
Returns a LayerPropertiesMixin Interface giving access to the object’s layer properties.
<node>.displayByLayer : boolean : Read|Write
Corresponds to the By Layer / By Object checkbutton in the Object Properties > General tab > Display Properties. When true
, the layer’s Display Properties settings will be used. When false
, the object’s Display Properties settings will be used instead.
<node>.renderByLayer : boolean : Read|Write
Corresponds to the By Layer / By Object checkbutton in the Object Properties > General tab > Rendering Control. When true
, the layer’s Rendering Controls settings will be used. When false
, the object’s Rendering Controls will be used instead.
<node>.motionByLayer : boolean : Read|Write
Corresponds to the By Layer / By Object checkbutton in the Object Properties > General tab > Motion Blur. When true
, the layer’s Motion Blur settings will be used. When false
, the object’s Motion Blur settings will be used instead.
<node>.colorByLayer : boolean : Read|Write
When true
, the object will use the Layer’s color. When false
, the object’s color will be used instead. This affects the Layer Color switch in the Layer Properties.
<node>.globalIlluminationByLayer : boolean : Read|Write
Corresponds to the By Layer / By Object checkbutton in the Object Properties > Adv. Lighting tab. This is identical to the .GIByLayer
property exposed by the INodeGIProperties Node Interface.