SceneObject
Overview
SceneObject is a class in Aspose.3D FOSS for TypeScript.
Inherits from: A3DObject.
SceneObject.scene holds the parent Scene reference or null when the object is not attached to a scene.
This class declares 6 methods for SceneObject objects in TypeScript programs.
Available methods include: constructor, findProperty, getProperty, removeProperty, setProperty, toString.
Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.
Properties: name, properties, scene.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
scene | Scene | null | Read/Write | Gets the scene. |
name | string | Read/Write | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
constructor(name: string) | Calls constructor(name) on this SceneObject instance. |
findProperty(propertyName: string) → Property | null | Calls findProperty(propertyName) on this SceneObject instance. |
getProperty(property: string) → any | Calls getProperty(property) on this SceneObject instance. |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Calls removeProperty(property) on this SceneObject instance. |
toString() → string | Calls toString on this SceneObject instance. |