HammeriteEntityNodes
Core: entities. Inherits Object
What the entity base classes share, and the one way to ask whether a node is an entity's.
An entity's node extends one of HammeritePointEntityNode3D, HammeritePointEntityAnimatableBody3D, HammeritePointEntityRigidBody3D, HammeriteBrushEntityNode3D, HammeriteBrushEntityStaticBody3D, HammeriteBrushEntityAnimatableBody3D or HammeriteBrushEntityArea3D - Node3D and the physics bodies have no common class to put them under - and each delegates what they all do to the functions here, so a fix to one is a fix to all of them.
Methods
| Returns | Method |
|---|---|
HammeriteEntity | entity_of(node: Object) static |
bool | is_entity_node(node: Object) static |
Method descriptions
entity_of()
static func entity_of(node: Object) -> HammeriteEntity
The entity node stands for, or null when it is not an entity's node or has none yet.
is_entity_node()
static func is_entity_node(node: Object) -> bool
Whether node is the node of an entity: an instance of any of the bases.