Open CASCADE Technology  7.7.0
Public Member Functions | Data Fields

Aspect_XRDigitalActionData Struct Reference

Digital input XR action data. More...

#include <Aspect_XRDigitalActionData.hxx>

Public Member Functions

 Aspect_XRDigitalActionData ()
 Empty constructor. More...
 

Data Fields

uint64_t ActiveOrigin
 The origin that caused this action's current state. More...
 
float UpdateTime
 Time relative to now when this event happened. Will be negative to indicate a past time. More...
 
bool IsActive
 whether or not this action is currently available to be bound in the active action set More...
 
bool IsPressed
 Aspect_InputActionType_Digital state - The current state of this action; will be true if currently pressed. More...
 
bool IsChanged
 Aspect_InputActionType_Digital state - this is true if the state has changed since the last frame. More...
 

Detailed Description

Digital input XR action data.

Constructor & Destructor Documentation

◆ Aspect_XRDigitalActionData()

Aspect_XRDigitalActionData::Aspect_XRDigitalActionData ( )
inline

Empty constructor.

Field Documentation

◆ ActiveOrigin

uint64_t Aspect_XRDigitalActionData::ActiveOrigin

The origin that caused this action's current state.

◆ IsActive

bool Aspect_XRDigitalActionData::IsActive

whether or not this action is currently available to be bound in the active action set

◆ IsChanged

bool Aspect_XRDigitalActionData::IsChanged

Aspect_InputActionType_Digital state - this is true if the state has changed since the last frame.

◆ IsPressed

bool Aspect_XRDigitalActionData::IsPressed

Aspect_InputActionType_Digital state - The current state of this action; will be true if currently pressed.

◆ UpdateTime

float Aspect_XRDigitalActionData::UpdateTime

Time relative to now when this event happened. Will be negative to indicate a past time.


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