IRenderTarget
Overview
IRenderTarget is a interface in Aspose.3D FOSS for .NET.
Inherits from: IDisposable.
The base interface of render target
This interface provides 3 methods for working with IRenderTarget objects in .NET programs.
Available methods include: CreateViewport.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Size, Viewports.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Size | Vector2 | Read/Write | Gets or sets the size of the render target. |
Viewports | IList<Viewport> | Read | Gets all viewports that associated with this render target. |
Methods
| Signature | Description |
|---|---|
CreateViewport(camera: Camera, backgroundColor: Vector3, rect: RelativeRectangle) | Create a viewport with specified background color and position/size in specified camera perspective. |
CreateViewport(camera: Camera, rect: RelativeRectangle) | Create a viewport with position/size in specified camera perspective. |
CreateViewport(camera: Camera) | Create a viewport in specified camera perspective. |