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
| Name | Type | Access | Description |
|---|---|---|---|
Frustum | Frustum | Read/Write | Gets or sets the camera of this |
Enabled | bool | Read/Write | Enable or disable this viewport. |
RenderTarget | IRenderTarget | Read | Gets the render target that created this viewport. |
Area | RelativeRectangle | Read/Write | Gets or sets the area of the viewport in render target. |
ZOrder | int | Read/Write | Gets or sets the Z-order of the viewport. |
BackgroundColor | Vector3 | Read/Write | Gets or sets the background color of the viewport. |
DepthClear | float | Read/Write | Gets or sets the depth value used when clear the viewport with depth buffer bit set. |