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

NameTypeAccessDescription
sceneScene | nullRead/WriteGets the scene.
namestringRead/WriteGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
constructor(name: string)Calls constructor(name) on this SceneObject instance.
findProperty(propertyName: string)Property | nullCalls findProperty(propertyName) on this SceneObject instance.
getProperty(property: string)anyCalls getProperty(property) on this SceneObject instance.
setProperty(property: string, value: any)Sets the property value.
removeProperty(property: string | Property)booleanCalls removeProperty(property) on this SceneObject instance.
toString()stringCalls toString on this SceneObject instance.

See Also

 English