Entity
Overview
Entity is a class in Aspose.3D FOSS for Python.
Inherits from: SceneObject.
Entity.get_bounding_box returns the axis-aligned bounding box that encloses the entity.
This class provides 7 methods for working with Entity objects in Python programs.
Available methods include: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: excluded, name, parent_node, parent_nodes, properties, scene.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
parent_nodes | List['Node'] | Read | Gets the parent nodes. |
parent_node | Optional['Node'] | Read/Write | Gets or sets the parent node. |
excluded | bool | Read/Write | Gets or sets the excluded. |
scene | `` | Read/Write | Gets or sets the scene. |
name | str | Read/Write | Gets or sets the name. |
properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
__init__(name: str) | |
get_bounding_box() → BoundingBox | Not implemented in the FOSS edition — throws at runtime. Returns the bounding box. |
get_entity_renderer_key() | Not implemented in the FOSS edition — throws at runtime. Returns the entity renderer key. |
find_property(property_name: str) | |
get_property(property: str) | |
set_property(property: str, value) | Sets the property value. |
remove_property(property) |