InteractionContext Struct
Describes a generic interaction between entities. More...
Declaration
Public Member Attributes Index
| helios::engine::ecs::EntityHandle | target {} |
|
Entity that is affected by the interaction. More... | |
| helios::engine::ecs::EntityHandle | instigator {} |
|
Entity that initiated the interaction. More... | |
| helios::engine::ecs::EntityHandle | causer {} |
|
Entity that directly caused the interaction (e.g. projectile). More... | |
| helios::math::vec3f | contact {} |
|
World-space contact point of the interaction. More... | |
Description
Describes a generic interaction between entities.
Carries the participating entity handles and the world-space contact point. Used as a base context for more specific interaction types such as DamageContext.
Definition at line 25 of file InteractionContext.ixx.
Public Member Attributes
causer
|
Entity that directly caused the interaction (e.g. projectile).
Definition at line 40 of file InteractionContext.ixx.
contact
|
World-space contact point of the interaction.
Definition at line 45 of file InteractionContext.ixx.
instigator
|
Entity that initiated the interaction.
Definition at line 35 of file InteractionContext.ixx.
target
|
Entity that is affected by the interaction.
Definition at line 30 of file InteractionContext.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.