<node3d:renderNode>.linkViewportSizeToWindow

Links size of viewport to window

 

<node3d:renderNode>.linkViewportSizeToWindow(
    window    

)

 

window

Window object to link viewport size to.


Remarks

This is a convenience function that links the size of the viewport to the size of the specified windows viewport.

This function is equivalent to calling the following code:

viz.link(window.WindowSize,node,mask=viz.LINK_SCALE,dstFlag=viz.LINK_RENDERNODE_SIZE)

Return Value

Link object