Entity
Overview
Entity is a class in Aspose.3D FOSS for Java.
Inherits from: SceneObject.
Entity.Entity creates a new Entity with no name.
This class provides 8 methods for working with Entity objects in Java programs.
Available methods include: Entity, getBoundingBox, getEntityRendererKey, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode.
All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: boundingBox, entityRendererKey, excluded, parentNode, parentNodes.
Description
Entity is a class in the Aspose.3D FOSS library for Java that exposes 15 methods and 8 properties for programmatic use. It extends SceneObject, inheriting shared functionality from its parent type.
Core capabilities include: node; arraylist<node>; boolean. These operations enable developers to integrate entity functionality directly into Java applications.
The class also provides the parentNode property (gets the parent node), the parentNodes property (gets the parent nodes), the excluded property (gets the excluded).
The class offers 4 constructor overloads, allowing flexible initialization depending on the calling context.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
parentNode | Node | Read | Gets the parent node. |
parentNodes | ArrayList<Node> | Read | Gets the parent nodes. |
excluded | boolean | Read | Gets the excluded. |
boundingBox | BoundingBox | Read | Gets the bounding box. |
entityRendererKey | EntityRendererKey | Read | Gets the entity renderer key. |
Methods
| Signature | Description |
|---|---|
Entity() | Creates a new Entity with the given name |
Entity(name: String) | |
getParentNode() → Node | Returns the parent node. |
setParentNode(value: Node) | Sets the parent node value. |
getParentNodes() → ArrayList<Node> | Returns the parent nodes. |
getExcluded() → boolean | Returns the excluded. |
setExcluded(value: boolean) | Sets the excluded value. |
getBoundingBox() → BoundingBox | Returns the bounding box. |
getEntityRendererKey() → EntityRendererKey | Returns the entity renderer key. |