Class XrHandTrackingAimStateFB.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<XrHandTrackingAimStateFB>, NativeResource, Pointer
Enclosing class:
XrHandTrackingAimStateFB

public static class XrHandTrackingAimStateFB.Buffer extends StructBuffer<XrHandTrackingAimStateFB,XrHandTrackingAimStateFB.Buffer> implements NativeResource
An array of XrHandTrackingAimStateFB structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new XrHandTrackingAimStateFB.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by XrHandTrackingAimStateFB.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • type

      public int type()
      Returns:
      the value of the type field.
    • next

      public long next()
      Returns:
      the value of the next field.
    • status

      public long status()
      Returns:
      the value of the status field.
    • aimPose

      public XrPosef aimPose()
      Returns:
      a XrPosef view of the aimPose field.
    • pinchStrengthIndex

      public float pinchStrengthIndex()
      Returns:
      the value of the pinchStrengthIndex field.
    • pinchStrengthMiddle

      public float pinchStrengthMiddle()
      Returns:
      the value of the pinchStrengthMiddle field.
    • pinchStrengthRing

      public float pinchStrengthRing()
      Returns:
      the value of the pinchStrengthRing field.
    • pinchStrengthLittle

      public float pinchStrengthLittle()
      Returns:
      the value of the pinchStrengthLittle field.
    • type

      public XrHandTrackingAimStateFB.Buffer type(int value)
      Sets the specified value to the type field.
    • type$Default

      public XrHandTrackingAimStateFB.Buffer type$Default()
      Sets the TYPE_HAND_TRACKING_AIM_STATE_FB value to the type field.
    • next

      public XrHandTrackingAimStateFB.Buffer next(long value)
      Sets the specified value to the next field.