Vizard 8 » Command Index » Vizard objects » node3d » <node3d:renderNode>.setSize
8.1

<node3d:renderNode>.setSize

Set the viewport size

<node3d:renderNode>.setSize(  
width  
height  
x = 0  
y = 0  
)  
width
The width of the viewport
height
The height of the viewport
x = 0
The x coordinate of the lower left corner of the viewport
y = 0
The y coordinate of the lower left corner of the viewport

Remarks

This command will set the size of the viewport for the render node. If width or height is -1 then the viewport will be inherited from the main pass.

The default size is 512 x 512

Return Value

None