Class VRActiveActionSet

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

    public class VRActiveActionSet
    extends Struct
    implements NativeResource

    Member documentation

    • ulActionSet – this is the handle of the action set to activate for this frame
    • ulRestrictedToDevice – this is the handle of a device path that this action set should be active for. To activate for all devices, set this to VR.k_ulInvalidInputValueHandle.
    • ulSecondaryActionSet – the action set to activate for all devices other than ulRestrictedDevice. If ulRestrictedToDevice is set to VR.k_ulInvalidInputValueHandle, this parameter is ignored.
    • nPriority – the priority of this action set relative to other action sets. Any inputs bound to a source (e.g. trackpad, joystick, trigger) will disable bindings in other active action sets with a smaller priority.

    Layout

    
     struct VRActiveActionSet_t {
         VRActionSetHandle_t ulActionSet;
         VRInputValueHandle_t ulRestrictedToDevice;
         VRActionSetHandle_t ulSecondaryActionSet;
         char[4];
         int32_t nPriority;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • ULACTIONSET, ULRESTRICTEDTODEVICE, ULSECONDARYACTIONSET, NPRIORITY

        The struct member offsets.
    • Constructor Detail

      • VRActiveActionSet

        public VRActiveActionSet​(java.nio.ByteBuffer container)
        Creates a VRActiveActionSet 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.