A3DObject
Overview
A3DObject is a class in Aspose.3D FOSS for Typescript.
Inherits from: INamedObject.
A3DObject.constructor creates a new A3DObject with the given name.
This class provides 6 methods for working with A3DObject objects in Typescript programs.
Available methods include: constructor, findProperty, getProperty, removeProperty, setProperty, toString.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: name, properties.
Description
A3DObject is a class in the Aspose.3D FOSS library for TypeScript that exposes 5 methods and 2 properties for programmatic use. It extends INamedObject, inheriting shared functionality from its parent type.
Core capabilities include: string; propertycollection; creates a new a3dobject with the given name. These operations enable developers to integrate a3dobject functionality directly into TypeScript applications.
The class also provides the properties property (gets the properties).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
constructor(name: string) | Creates a new A3DObject with the given name |
findProperty(propertyName: string) → Property | null | Returns the Property with the specified name or null if not found |
getProperty(property: string) → any | Retrieves the value of the named property |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Deletes the specified property by name or Property instance, returning success |
toString() → string | Returns a string representation of the object |