Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.renderToAllWindowsExcept
7.7

<node3d>.renderToAllWindowsExcept

Specifies the windows the node will not be rendered to

<node3d>.renderToAllWindowsExcept(  
windows  
allowRenderNodes = False  
)  
windows
A list of windows
allowRenderNodes = False
If True, the node is still allowed be rendered to render nodes, even if it is excluded from the window.

Remarks

This command will prevent the node from being rendered in the specified windows.

Return Value

None

Example

import viz
viz.go()

UpperLeftWindow = viz.addWindow(pos=(0,1.0))
UpperRightWindow = viz.addWindow()
LowerLeftWindow = viz.addWindow(pos=(0,0.2))
LowerRightWindow = viz.addWindow(pos=(0.8,0.2))

court = viz.addChild('court.ive')
ball = viz.addChild('ball.wrl',pos=[0,1.8,3])

ball.renderToAllWindowsExcept([viz.MainWindow])

See also

<node3d>.renderOnlyToRenderNodes
<node3d>.renderOnlyToWindows
<node3d>.renderToAllRenderNodes
<node3d>.renderToAllRenderNodesExcept
<node3d>.renderToAllWindows
<node3d>.setRenderLimit
<node3d>.renderToEye