|
guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
|
Marks an entity as a target of XR hand squeeze (grip) input and stores the callback for it. More...
#include <headers/guillaume/components/hand_squeeze_interaction.hpp>


Public Member Functions | |
| HandSqueezeInteraction (void) | |
| Construct a component without handler. | |
| ~HandSqueezeInteraction (void)=default | |
| Default destructor. | |
Marks an entity as a target of XR hand squeeze (grip) input and stores the callback for it.
systems::HandSqueeze selects the entities that have this component, a Transform and a Bound, and consumes one squeeze event per frame in the Event phase. It has no per-entity rule: it neither writes this component nor calls the handler set with setOnEventHandler().
Definition at line 41 of file hand_squeeze_interaction.hpp.
| guillaume::components::HandSqueezeInteraction::HandSqueezeInteraction | ( | void | ) |
Construct a component without handler.
Definition at line 27 of file hand_squeeze_interaction.cpp.