Entity
Overview
Entity is a class in Aspose.3D FOSS for Java.
Inherits from: SceneObject.
Entity.Entity creates a new Entity with no name.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
parentNode | Node | Read | Property represents the Entity’s immediate parent Node |
parentNodes | ArrayList<Node> | Read | Property represents the list of ancestor Nodes of the Entity |
excluded | boolean | Read | Property indicates whether the Entity is excluded from rendering |
boundingBox | BoundingBox | Read | Property provides access to the Entity’s bounding box |
entityRendererKey | EntityRendererKey | Read | Property provides the renderer key for the Entity |
Methods
| Signature | Description |
|---|---|
Entity() | Creates a new Entity with the specified name |
Entity(name: String) | |
getParentNode() → Node | Returns the immediate parent Node of this Entity |
setParentNode(value: Node) | Assigns the given Node as this Entity’s parent |
getParentNodes() → ArrayList<Node> | Returns a list of all ancestor Nodes of this Entity |
getExcluded() → boolean | Returns true if the Entity is excluded from rendering |
setExcluded(value: boolean) | Sets whether the Entity is excluded from rendering |
getBoundingBox() → BoundingBox | Returns the bounding box that encloses the Entity |
getEntityRendererKey() → EntityRendererKey | Returns the renderer key associated with this Entity |