IRenderTarget

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

NameTypeAccessDescription
SizeVector2Read/WriteGets or sets the size of the render target.
ViewportsIList<Viewport>ReadGets all viewports that associated with this render target.

Methods

SignatureDescription
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.

See Also

 English