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 21 methods for working with Entity objects in Java programs. Available methods include: A3DObject, Entity, SceneObject, findProperty, getBoundingBox, getEntityRendererKey, getExcluded, getName, getParentNode, getParentNodes, getProperties, getProperty, and 6 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

NameTypeAccessDescription
parentNodeNodeReadGets the parent node.
parentNodesArrayList<Node>ReadGets the parent nodes.
excludedbooleanReadGets the excluded.
boundingBoxBoundingBoxReadGets the bounding box.
entityRendererKeyEntityRendererKeyReadGets the entity renderer key.
sceneSceneReadGets the scene.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
Entity(name: String)Creates a new Entity with the given name
getParentNode()NodeReturns the parent node.
setParentNode(value: Node)Sets the parent node value.
getParentNodes()ArrayList<Node>Returns the parent nodes.
getExcluded()booleanReturns the excluded.
setExcluded(value: boolean)Sets the excluded value.
getBoundingBox()BoundingBoxReturns the bounding box.
getEntityRendererKey()EntityRendererKeyReturns the entity renderer key.
SceneObject()Calls SceneObject on this Entity instance.
SceneObject(name: String)Calls SceneObject(name) on this Entity instance.
getScene()SceneReturns the scene.
A3DObject()Calls A3DObject on this Entity instance.
A3DObject(name: String)Calls A3DObject(name) on this Entity instance.
getName()StringReturns the name.
setName(name: String)Sets the name value.
getProperties()PropertyCollectionReturns the properties.
findProperty(name: String)PropertyCalls findProperty(name) on this Entity instance.
getProperty(name: String)ObjectCalls getProperty(name) on this Entity instance.
setProperty(name: String, value: Object)Sets the property value.
removeProperty(name: String)booleanCalls removeProperty(name) on this Entity instance.
removeProperty(property: Property)booleanCalls removeProperty(property) on this Entity instance.

See Also

 English