Scene.Render
Contents
[
Hide
]Render(Camera, string)
Render the scene into external file from given camera’s perspective. The default output size is 1024x768 and output format is png
public void Render(Camera camera, string fileName)
Parameter | Type | Description |
---|---|---|
camera | Camera | From which camera’s perspective to render the scene |
fileName | String | The file name of output file |
See Also
- class Camera
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D
Render(Camera, string, Vector2, string)
Render the scene into external file from given camera’s perspective.
public void Render(Camera camera, string fileName, Vector2 size, string format)
Parameter | Type | Description |
---|---|---|
camera | Camera | From which camera’s perspective to render the scene |
fileName | String | The file name of output file |
size | Vector2 | The size of final rendered image |
format | String | The image format of the output file |
See Also
- class Camera
- struct Vector2
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D
Render(Camera, string, Vector2, string, ImageRenderOptions)
Render the scene into external file from given camera’s perspective.
public void Render(Camera camera, string fileName, Vector2 size, string format,
ImageRenderOptions options)
Parameter | Type | Description |
---|---|---|
camera | Camera | From which camera’s perspective to render the scene |
fileName | String | The file name of output file |
size | Vector2 | The size of final rendered image |
format | String | The image format of the output file |
options | ImageRenderOptions | The option to customize some internal settings. |
See Also
- class Camera
- struct Vector2
- class ImageRenderOptions
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D
Render(Camera, TextureData)
Render the scene into bitmap from given camera’s perspective.
public void Render(Camera camera, TextureData bitmap)
Parameter | Type | Description |
---|---|---|
camera | Camera | From which camera’s perspective to render the scene |
bitmap | TextureData | Target of the rendered result |
See Also
- class Camera
- class TextureData
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D
Render(Camera, TextureData, ImageRenderOptions)
Render the scene into bitmap from given camera’s perspective.
public void Render(Camera camera, TextureData bitmap, ImageRenderOptions options)
Parameter | Type | Description |
---|---|---|
camera | Camera | From which camera’s perspective to render the scene |
bitmap | TextureData | Target of the rendered result |
options | ImageRenderOptions | The option to customize some internal settings. |
See Also
- class Camera
- class TextureData
- class ImageRenderOptions
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D