guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
guillaume::components::HandSqueezeInteraction Class Reference

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>

Inheritance diagram for guillaume::components::HandSqueezeInteraction:
Collaboration diagram for guillaume::components::HandSqueezeInteraction:

Public Member Functions

 HandSqueezeInteraction (void)
 Construct a component without handler.
 ~HandSqueezeInteraction (void)=default
 Default destructor.

Detailed Description

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().

See also
systems::HandSqueeze, Interaction

Definition at line 41 of file hand_squeeze_interaction.hpp.

Constructor & Destructor Documentation

◆ HandSqueezeInteraction()

guillaume::components::HandSqueezeInteraction::HandSqueezeInteraction ( void )

Construct a component without handler.

Definition at line 27 of file hand_squeeze_interaction.cpp.


The documentation for this class was generated from the following files: