<node3d:renderNode>.setHUD

Render the node as a HUD

 

<node3d:renderNode>.setHUD(
    left    
    right    
    bottom    
    top    
    renderQuad = False    

)

 

left

Coordinate for left clipping plane


right

Coordinate for right clipping plane


bottom

Coordinate for bottom clipping plane


top

Coordinate for top clipping plane


renderQuad = False

Add a fullscreen quad to the render node


Remarks

This command is a shortcut for setting the render node as a HUD. The command is equivalent to performing the following operations on the render node:

node.setInheritView(False)
node.setScene(None,True)
node.setClearMask(0)
node.setBuffer(viz.RENDER_FRAME_BUFFER)
node.setSize(-1,-1)
node.setProjectionMatrix(viz.Matrix.ortho2D(left,right,bottom,top))
node.setAutoClip(False)
node.setImplicitBufferMask(viz.GL_DEPTH_BUFFER_BIT, viz.MASK_REMOVE)
node.disable(viz.DEPTH_TEST)
node.disable(viz.LIGHTING)
node.appearance(viz.TEXREPLACE)


If 'renderQuad' is True, Vizard will automatically add a fullscreen quad to the render node.

Return Value

None