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

NameTypeAccessDescription
parentNodesNode[]ReadGets the parent nodes.
parentNodeNode | undefinedRead/WriteGets the parent node.
excludedbooleanRead/WriteGets the excluded.

Methods

SignatureDescription
constructor(name: string)
getBoundingBox()BoundingBoxNot implemented in the FOSS edition — throws at runtime. Returns the bounding box.
getEntityRendererKey()anyNot implemented in the FOSS edition — throws at runtime. Returns the entity renderer key.

See Also