Scene.Scene
Contents
[
Hide
]Scene()
Initializes a new instance of the Scene class.
public Scene()
See Also
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D
Scene(Entity)
Initializes a new instance of the Scene class with an entity attached to a new node.
public Scene(Entity entity)
| Parameter | Type | Description |
|---|---|---|
| entity | Entity | The initial entity that attached to the scene |
Examples
The following code shows how to create a Scene directly from an Entity:
var scene = new Scene(new Box());
See Also
- class Entity
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D
Scene(Scene, string)
Initializes a new instance of the Scene class as a sub-scene.
public Scene(Scene parentScene, string name)
| Parameter | Type | Description |
|---|---|---|
| parentScene | Scene | The parent scene. |
| name | String | Scene’s name. |
See Also
- class Scene
- namespace Aspose.ThreeD
- assembly Aspose.3D