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

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.
getScene()SceneReturns the scene.
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.

See Also

 English