Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Input Namespace Reference

Namespaces

namespace  Actions
 Built-in action names published by the engine XR input setup.

Classes

struct  HandPoseInfo
 Raw pose data for one tracked OpenXR hand. More...
class  InputBindingScope
 RAII owner for input provider and callback registrations. More...
class  InputManager
 Action-based input dispatcher for polled input values and callbacks. More...
struct  TrackedHandPose
 World-space pose for one tracked XR hand. More...
struct  XrInputDef
 One action definition for an interaction profile. More...
class  XrInputHandler
 Creates OpenXR controller actions from the profile registry and samples the input state. More...
struct  XrProfileDef
 Data-driven definition of one OpenXR interaction profile. More...
class  XrRig
 Resolves raw XR play-space poses into world-space tracked hand poses. More...

Enumerations

enum class  Hand {
  LEFT = 0 ,
  RIGHT = 1
}
 Index of a tracked hand in hand-indexed input arrays. More...
enum class  XrInputType {
  Boolean ,
  Float ,
  Vector2 ,
  Pose ,
  Haptic
}
 OpenXR action type for an interaction-profile input component. More...

Functions

const std::vector< XrProfileDef > & getXrProfiles ()
 Returns the data-driven interaction profile registry.

Enumeration Type Documentation

◆ Hand

enum class Input::Hand
strong

Index of a tracked hand in hand-indexed input arrays.

Enumerator
LEFT 

Left hand, stored at index 0.

RIGHT 

Right hand, stored at index 1.

Definition at line 38 of file XrInputHandler.h.

◆ XrInputType

enum class Input::XrInputType
strong

OpenXR action type for an interaction-profile input component.

Enumerator
Boolean 

XR_ACTION_TYPE_BOOLEAN_INPUT.

Float 

XR_ACTION_TYPE_FLOAT_INPUT.

Vector2 

XR_ACTION_TYPE_VECTOR2F_INPUT.

Pose 

XR_ACTION_TYPE_POSE_INPUT.

Haptic 

XR_ACTION_TYPE_OUTPUT (haptic feedback).

Definition at line 22 of file XrProfile.h.

Function Documentation

◆ getXrProfiles()

const std::vector< XrProfileDef > & Input::getXrProfiles ( )

Returns the data-driven interaction profile registry.

Returns
All OpenXR 1.0-era interaction profiles supported by the engine.