SceneObject
Overview
SceneObject is a class in Aspose.3D FOSS for .NET.
Inherits from: A3DObject.
The root class of objects that will be stored inside a scene.
This class provides 9 methods for working with SceneObject objects in .NET programs.
Available methods include: A3DObject, FindProperty, GetProperty, RemoveProperty, SceneObject, SetProperty.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Name, Properties, Scene.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Scene | Scene | Read | Gets the scene that this object belongs to |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the collection of all properties. |
Methods
| Signature | Description |
|---|---|
SceneObject(name: string) | Initialize an SceneObject with a default name |
SceneObject() | Initialize an SceneObject. |
A3DObject() | Initializes a new instance of the A3DObject class with no name. |
A3DObject(name: string) | Initializes a new instance of the A3DObject class. |
RemoveProperty(property: Property) | Removes a dynamic property. |
RemoveProperty(property: string) | Remove the specified property identified by name |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. |