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

NameTypeAccessDescription
parentNodeNodeReadProperty represents the Entity’s immediate parent Node
parentNodesArrayList<Node>ReadProperty represents the list of ancestor Nodes of the Entity
excludedbooleanReadProperty indicates whether the Entity is excluded from rendering
boundingBoxBoundingBoxReadProperty provides access to the Entity’s bounding box
entityRendererKeyEntityRendererKeyReadProperty provides the renderer key for the Entity

Methods

SignatureDescription
Entity()Creates a new Entity with the specified name
Entity(name: String)
getParentNode()NodeReturns 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()booleanReturns true if the Entity is excluded from rendering
setExcluded(value: boolean)Sets whether the Entity is excluded from rendering
getBoundingBox()BoundingBoxReturns the bounding box that encloses the Entity
getEntityRendererKey()EntityRendererKeyReturns the renderer key associated with this Entity