Class InputDigitalActionData

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class InputDigitalActionData
    extends Struct
    implements NativeResource

    Member documentation

    • bActive – whether or not this action is currently available to be bound in the active action set
    • activeOrigin – the origin that caused this action's current state
    • bState – the current state of this action; will be true if currently pressed
    • bChanged – this is true if the state has changed since the last frame
    • fUpdateTime – time relative to now when this event happened. Will be negative to indicate a past time.

    Layout

    
     struct InputDigitalActionData_t {
         bool bActive;
         VRInputValueHandle_t activeOrigin;
         bool bState;
         bool bChanged;
         float fUpdateTime;
     }