Entity
Overview
Entity is a class in Aspose.3D FOSS for Java.
Inherits from: SceneObject.
Entity serves as the common base for scene objects, exposing parent node management, bounding box access, and a generic property bag.
This class provides 16 methods for working with Entity objects in Java programs.
Available methods include: Entity, findProperty, getBoundingBox, getEntityRendererKey, getExcluded, getName, getParentNode, getParentNodes, getProperties, getProperty, getScene, removeProperty, and 4 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: boundingBox, entityRendererKey, excluded, name, parentNode, parentNodes, and 2 more.
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. |
scene | Scene | Read | Gets the scene. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
Entity(name: String) | Creates a new Entity with the given name |
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. |
getScene() → Scene | Returns the scene. |
getName() → String | Returns the name. |
setName(name: String) | Sets the name value. |
getProperties() → PropertyCollection | Returns the properties. |
findProperty(name: String) → Property | Calls findProperty(name) on this Entity instance. |
getProperty(name: String) → Object | Calls getProperty(name) on this Entity instance. |
setProperty(name: String, value: Object) | Sets the property value. |
removeProperty(name: String) → boolean | Calls removeProperty(name) on this Entity instance. |