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

Marks an entity as a target of XR controller thumb rest input and stores the callback for it. More...

#include <headers/guillaume/components/hand_thumb_rest_interaction.hpp>

Inheritance diagram for guillaume::components::HandThumbRestInteraction:
Collaboration diagram for guillaume::components::HandThumbRestInteraction:

Public Member Functions

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

Detailed Description

Marks an entity as a target of XR controller thumb rest input and stores the callback for it.

systems::HandThumbRest selects the entities that have this component, a Transform and a Bound, and consumes one thumb rest 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::HandThumbRest, Interaction

Definition at line 41 of file hand_thumb_rest_interaction.hpp.

Constructor & Destructor Documentation

◆ HandThumbRestInteraction()

guillaume::components::HandThumbRestInteraction::HandThumbRestInteraction ( void )

Construct a component without handler.

Definition at line 27 of file hand_thumb_rest_interaction.cpp.


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