Class VRSkeletalSummaryData

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VRSkeletalSummaryData>
org.lwjgl.openvr.VRSkeletalSummaryData
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VRSkeletalSummaryData extends org.lwjgl.system.Struct<VRSkeletalSummaryData> implements org.lwjgl.system.NativeResource
Contains summary information about the current skeletal pose.

Layout


 struct VRSkeletalSummaryData_t {
     float flFingerCurl()[5];
     float flFingerSplay()[4];
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FLFINGERCURL

      public static final int FLFINGERCURL
      The struct member offsets.
    • FLFINGERSPLAY

      public static final int FLFINGERSPLAY
      The struct member offsets.
  • Constructor Details

    • VRSkeletalSummaryData

      public VRSkeletalSummaryData(ByteBuffer container)
      Creates a VRSkeletalSummaryData 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 Details

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<VRSkeletalSummaryData>
    • flFingerCurl

      public FloatBuffer flFingerCurl()
      The amount that each finger is 'curled' inwards towards the palm.

      In the case of the thumb, this represents how much the thumb is wrapped around the fist. 0 means straight, 1 means fully curled.

    • flFingerCurl

      public float flFingerCurl(int index)
      The amount that each finger is 'curled' inwards towards the palm.

      In the case of the thumb, this represents how much the thumb is wrapped around the fist. 0 means straight, 1 means fully curled.

    • flFingerSplay

      public FloatBuffer flFingerSplay()
      The amount that each pair of adjacent fingers are separated.

      0 means the digits are touching, 1 means they are fully separated.

    • flFingerSplay

      public float flFingerSplay(int index)
      The amount that each pair of adjacent fingers are separated.

      0 means the digits are touching, 1 means they are fully separated.

    • malloc

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

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

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

      public static VRSkeletalSummaryData create(long address)
      Returns a new VRSkeletalSummaryData instance for the specified memory address.
    • createSafe

      public static @Nullable VRSkeletalSummaryData createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VRSkeletalSummaryData.Buffer malloc(int capacity)
      Returns a new VRSkeletalSummaryData.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VRSkeletalSummaryData.Buffer calloc(int capacity)
      Returns a new VRSkeletalSummaryData.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VRSkeletalSummaryData.Buffer create(int capacity)
      Returns a new VRSkeletalSummaryData.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VRSkeletalSummaryData.Buffer create(long address, int capacity)
      Create a VRSkeletalSummaryData.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VRSkeletalSummaryData.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • mallocStack

      @Deprecated public static VRSkeletalSummaryData mallocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VRSkeletalSummaryData callocStack()
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VRSkeletalSummaryData mallocStack(org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
    • callocStack

      @Deprecated public static VRSkeletalSummaryData callocStack(org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
    • mallocStack

      @Deprecated public static VRSkeletalSummaryData.Buffer mallocStack(int capacity)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.
    • callocStack

      @Deprecated public static VRSkeletalSummaryData.Buffer callocStack(int capacity)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.
    • mallocStack

      @Deprecated public static VRSkeletalSummaryData.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.
    • callocStack

      @Deprecated public static VRSkeletalSummaryData.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
      Deprecated.
      Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.
    • malloc

      public static VRSkeletalSummaryData malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new VRSkeletalSummaryData instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

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

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

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

      public static FloatBuffer nflFingerCurl(long struct)
      Unsafe version of flFingerCurl().
    • nflFingerCurl

      public static float nflFingerCurl(long struct, int index)
      Unsafe version of flFingerCurl.
    • nflFingerSplay

      public static FloatBuffer nflFingerSplay(long struct)
      Unsafe version of flFingerSplay().
    • nflFingerSplay

      public static float nflFingerSplay(long struct, int index)
      Unsafe version of flFingerSplay.