ezEngine  Release 25.03
ezXRDeviceFeatures Struct Reference

Defines features the given device supports. More...

#include <Declarations.h>

Classes

struct  Bits
 

Public Types

enum  Enum : ezUInt32 {
  None = 0, Trigger = EZ_BIT(0), Select = EZ_BIT(1), Menu = EZ_BIT(2),
  Squeeze = EZ_BIT(3), PrimaryAnalogStick = EZ_BIT(4), PrimaryAnalogStickClick = EZ_BIT(5), PrimaryAnalogStickTouch = EZ_BIT(6),
  SecondaryAnalogStick = EZ_BIT(7), SecondaryAnalogStickClick = EZ_BIT(8), SecondaryAnalogStickTouch = EZ_BIT(9), GripPose = EZ_BIT(10),
  AimPose = EZ_BIT(11), Default = None
}
 
using StorageType = ezUInt32
 

Detailed Description

Defines features the given device supports.

Member Enumeration Documentation

◆ Enum

enum ezXRDeviceFeatures::Enum : ezUInt32
Enumerator
Trigger 

Float input. If fully pressed, will also trigger 'Select'.

Select 

Bool input.

Menu 

Bool input.

Squeeze 

Bool input.

PrimaryAnalogStick 

2D axis input.

PrimaryAnalogStickClick 

Bool input.

PrimaryAnalogStickTouch 

Bool input.

SecondaryAnalogStick 

2D axis input.

SecondaryAnalogStickClick 

Bool input.

SecondaryAnalogStickTouch 

Bool input.

GripPose 

3D Pose input.

AimPose 

3D Pose input.


The documentation for this struct was generated from the following file: