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.


     struct InputDigitalActionData_t {
         bool bActive;
         VRInputValueHandle_t activeOrigin;
         bool bState;
         bool bChanged;
         float fUpdateTime;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • InputDigitalActionData

        public InputDigitalActionData​(java.nio.ByteBuffer container)
        Creates a InputDigitalActionData instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.