<node3d:renderNode>.setInheritView

Set whether to inherit the main view

 

<node3d:renderNode>.setInheritView(
    inherit    
    mode = viz.PRE_MULT    

)

 

inherit

Controls if the modelview/projection matrix will be inherited.


mode = viz.PRE_MULT

Controls how the local transform will be multiplied with the inherited transform.


Remarks

This command controls whether the render node will inherit the modelview/projection matrix from the main pass.

If this flag is True, then 'mode' controls whether the local transform of the render node will be pre/post multiplied with the transform of the main pass.

By default this flag is True and the mode is viz.PRE_MULT

Return Value

None