Package com.aspose.threed
Class Entity
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- Direct Known Subclasses:
Curve
,Frustum
,Geometry
,LinearExtrusion
,Primitive
,Profile
,RevolvedAreaSolid
,Skeleton
,SweptAreaSolid
,TriMesh
public abstract class Entity extends SceneObject
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBox
getBoundingBox()
Gets the bounding box of current entity in its object space coordinate system.EntityRendererKey
getEntityRendererKey()
Gets the key of the entity renderer registered in the rendererboolean
getExcluded()
Gets whether to exclude this entity during exporting.Node
getParentNode()
Gets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.java.util.ArrayList<Node>
getParentNodes()
Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancingvoid
setExcluded(boolean value)
Sets whether to exclude this entity during exporting.void
setParentNode(Node value)
Sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.-
Methods inherited from class com.aspose.threed.SceneObject
getScene
-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Method Detail
-
getParentNodes
public java.util.ArrayList<Node> getParentNodes()
Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancing
-
getExcluded
public boolean getExcluded()
Gets whether to exclude this entity during exporting.
-
setExcluded
public void setExcluded(boolean value)
Sets whether to exclude this entity during exporting.- Parameters:
value
- New value
-
getParentNode
public Node getParentNode()
Gets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
-
setParentNode
public void setParentNode(Node value)
Sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.- Parameters:
value
- New value
-
getBoundingBox
public BoundingBox getBoundingBox()
Gets the bounding box of current entity in its object space coordinate system.
-
getEntityRendererKey
public EntityRendererKey getEntityRendererKey()
Gets the key of the entity renderer registered in the renderer
-
-