Class InputSkeletalActionData

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

    public class InputSkeletalActionData
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.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

    Layout

    
     struct InputSkeletalActionData_t {
         bool bActive;
         VRInputValueHandle_t activeOrigin;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • BACTIVE, ACTIVEORIGIN

        The struct member offsets.
    • Constructor Detail

      • InputSkeletalActionData

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

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • bActive

        public boolean bActive()
        Returns the value of the bActive field.
      • activeOrigin

        public long activeOrigin()
        Returns the value of the activeOrigin field.
      • malloc

        public static InputSkeletalActionData malloc()
        Returns a new InputSkeletalActionData instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static InputSkeletalActionData calloc()
        Returns a new InputSkeletalActionData instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static InputSkeletalActionData create()
        Returns a new InputSkeletalActionData instance allocated with BufferUtils.
      • create

        public static InputSkeletalActionData create​(long address)
        Returns a new InputSkeletalActionData instance for the specified memory address.
      • mallocStack

        public static InputSkeletalActionData mallocStack()
        Returns a new InputSkeletalActionData instance allocated on the thread-local MemoryStack.
      • callocStack

        public static InputSkeletalActionData callocStack()
        Returns a new InputSkeletalActionData instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

        public static InputSkeletalActionData mallocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new InputSkeletalActionData instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • callocStack

        public static InputSkeletalActionData callocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new InputSkeletalActionData instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • mallocStack

        public static InputSkeletalActionData.Buffer mallocStack​(int capacity,
                                                                 org.lwjgl.system.MemoryStack stack)
        Returns a new InputSkeletalActionData.Buffer instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • callocStack

        public static InputSkeletalActionData.Buffer callocStack​(int capacity,
                                                                 org.lwjgl.system.MemoryStack stack)
        Returns a new InputSkeletalActionData.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nbActive

        public static boolean nbActive​(long struct)
        Unsafe version of bActive().
      • nactiveOrigin

        public static long nactiveOrigin​(long struct)
        Unsafe version of activeOrigin().