25#include "guillaume/systems/hand_event_system.hpp"
27#include "guillaume/components/hand_pinch_interaction.hpp"
29#include <utility/event/hand_pinch_event.hpp>
53 utility::event::HandPinchEvent>
76 bool engaged)
override;
Whether an XR hand pinches while pointing at an entity, and what to call when it does.
Hands each engine event to the listeners subscribed to its type.
void setEngaged(components::HandPinchInteraction &interaction, bool engaged) override
Write the pinching flag of the interaction component.
~HandPinch(void) override
Destructor.
HandPinch(event::EventBus &eventBus)
Create the system, in the Event phase, and subscribe it to hand pinch events.
Base of the hand input systems that point at an entity: a gesture counts for the entity the hand ray ...
Rules. Every class here runs each frame on the entities that have the components it declares.