SceneObject
Overview
SceneObject is a class in Aspose.3D FOSS for Java.
Inherits from: A3DObject.
SceneObject extends A3DObject, adding a reference to its parent Scene and exposing scene‑level properties.
This class provides 13 methods for working with SceneObject objects in Java programs.
Available methods include: A3DObject, SceneObject, findProperty, getName, getProperties, getProperty, getScene, removeProperty, setName, setProperty.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: name, properties, scene.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
scene | Scene | Read | Gets the scene. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
SceneObject() | Creates a new SceneObject with default settings |
SceneObject(name: String) | Calls SceneObject(name) on this SceneObject instance. |
getScene() → Scene | Returns the scene. |
A3DObject() | Calls A3DObject on this SceneObject instance. |
A3DObject(name: String) | Calls A3DObject(name) on this SceneObject instance. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Returns the properties. |
findProperty(name: String) → Property | Calls findProperty(name) on this SceneObject instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this SceneObject instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this SceneObject instance. |
removeProperty(property: Property) → boolean | Calls removeProperty(property) on this SceneObject instance. |