IRenderTarget.CreateViewport
Contents
[
Hide
]CreateViewport(Camera, Vector3, RelativeRectangle)
Create a viewport with specified background color and position/size in specified camera perspective.
public Viewport CreateViewport(Camera camera, Vector3 backgroundColor, RelativeRectangle rect)
Parameter | Type | Description |
---|---|---|
camera | Camera | The camera |
backgroundColor | Vector3 | The background of the viewport |
rect | RelativeRectangle | Position and size of the viewport |
See Also
- class Viewport
- class Camera
- struct Vector3
- struct RelativeRectangle
- interface IRenderTarget
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D
CreateViewport(Camera, RelativeRectangle)
Create a viewport with position/size in specified camera perspective.
public Viewport CreateViewport(Camera camera, RelativeRectangle rect)
Parameter | Type | Description |
---|---|---|
camera | Camera | The camera |
rect | RelativeRectangle | Position and size of the viewport |
See Also
- class Viewport
- class Camera
- struct RelativeRectangle
- interface IRenderTarget
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D
CreateViewport(Camera)
Create a viewport in specified camera perspective.
public Viewport CreateViewport(Camera camera)
Parameter | Type | Description |
---|---|---|
camera | Camera | The camera |
See Also
- class Viewport
- class Camera
- interface IRenderTarget
- namespace Aspose.ThreeD.Render
- assembly Aspose.3D