Viewport

Overview

Viewport is a class in Aspose.3D FOSS for .NET.

A contains at least one viewport for rendering the scene.

Properties: Area, BackgroundColor, DepthClear, Enabled, Frustum, RenderTarget, and 1 more.

Properties

NameTypeAccessDescription
FrustumFrustumRead/WriteGets or sets the camera of this
EnabledboolRead/WriteEnable or disable this viewport.
RenderTargetIRenderTargetReadGets the render target that created this viewport.
AreaRelativeRectangleRead/WriteGets or sets the area of the viewport in render target.
ZOrderintRead/WriteGets or sets the Z-order of the viewport.
BackgroundColorVector3Read/WriteGets or sets the background color of the viewport.
DepthClearfloatRead/WriteGets or sets the depth value used when clear the viewport with depth buffer bit set.

See Also

 English