Entity

Overview

Entity is a class in Aspose.3d for Python. Inherits from: SceneObject.

Entity.parent_nodes() returns a list of all parent Node objects that contain the entity in the scene hierarchy.

Properties

NameTypeAccessDescription
parent_nodesList['Node']ReadReturns a list of all parent Node objects that contain the entity in the scene hierarchy
parent_nodeOptional['Node']ReadReturns the immediate parent Node of the entity, or None if the entity has no parent
excludedboolReadReports whether the entity is marked to be excluded from export; the flag can be changed with excluded(value)

Methods

SignatureDescription
__init__(name: str)
get_bounding_box()BoundingBoxReturns the axis-aligned bounding box that encloses the entity
get_entity_renderer_key()Returns an identifier used by the renderer to select rendering settings for the entity