Entity
Overview
Entity is a class in Aspose.3D FOSS for Typescript.
Inherits from: SceneObject.
Entity.getBoundingBox returns the entity’s axis-aligned bounding box.
This class provides 3 methods for working with Entity objects in Typescript programs.
Available methods include: constructor, getBoundingBox, getEntityRendererKey.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: excluded, parentNode, parentNodes.
Description
Entity is a class in the Aspose.3D FOSS library for TypeScript that exposes 2 methods and 3 properties for programmatic use. It extends SceneObject, inheriting shared functionality from its parent type.
Core capabilities include: node[]; node \; boolean`. These operations enable developers to integrate entity functionality directly into TypeScript applications.
The class also provides the parentNodes property (gets the parent nodes).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
parentNodes | Node[] | Read | Gets the parent nodes. |
parentNode | Node | undefined | Read/Write | Gets the parent node. |
excluded | boolean | Read/Write | Gets the excluded. |
Methods
| Signature | Description |
|---|---|
constructor(name: string) | |
getBoundingBox() → BoundingBox | Not implemented in the FOSS edition — throws at runtime. Returns the bounding box. |
getEntityRendererKey() → any | Not implemented in the FOSS edition — throws at runtime. Returns the entity renderer key. |