Viewport class

Viewport class

A IRenderTarget contains at least one viewport for rendering the scene.

The Viewport type exposes the following members:

Properties

PropertyDescription
frustumGets or sets the camera of this Viewport
enabledEnable or disable this viewport.
render_targetGets the render target that created this viewport.
areaGets or sets the area of the viewport in render target.
z_orderGets or sets the Z-order of the viewport.
background_colorGets or sets the background color of the viewport.
depth_clearGets or sets the depth value used when clear the viewport with depth buffer bit set.

See Also