Package org.lwjgl.openxr
Class XrHandTrackingAimStateFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrHandTrackingAimStateFB,XrHandTrackingAimStateFB.Buffer>
-
- org.lwjgl.openxr.XrHandTrackingAimStateFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrHandTrackingAimStateFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrHandTrackingAimStateFB
public static class XrHandTrackingAimStateFB.Buffer extends org.lwjgl.system.StructBuffer<XrHandTrackingAimStateFB,XrHandTrackingAimStateFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrHandTrackingAimStateFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XrPosefaimPose()longnext()XrHandTrackingAimStateFB.Buffernext(long value)Sets the specified value to theXrHandTrackingAimStateFB.next()field.floatpinchStrengthIndex()floatpinchStrengthLittle()floatpinchStrengthMiddle()floatpinchStrengthRing()longstatus()inttype()XrHandTrackingAimStateFB.Buffertype(int value)Sets the specified value to theXrHandTrackingAimStateFB.type()field.XrHandTrackingAimStateFB.Buffertype$Default()Sets theTYPE_HAND_TRACKING_AIM_STATE_FBvalue to theXrHandTrackingAimStateFB.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrHandTrackingAimStateFB.Bufferinstance 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 byXrHandTrackingAimStateFB.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 Detail
-
type
public int type()
- Returns:
- the value of the
XrHandTrackingAimStateFB.type()field.
-
next
public long next()
- Returns:
- the value of the
XrHandTrackingAimStateFB.next()field.
-
status
public long status()
- Returns:
- the value of the
XrHandTrackingAimStateFB.status()field.
-
aimPose
public XrPosef aimPose()
- Returns:
- a
XrPosefview of theXrHandTrackingAimStateFB.aimPose()field.
-
pinchStrengthIndex
public float pinchStrengthIndex()
- Returns:
- the value of the
XrHandTrackingAimStateFB.pinchStrengthIndex()field.
-
pinchStrengthMiddle
public float pinchStrengthMiddle()
- Returns:
- the value of the
XrHandTrackingAimStateFB.pinchStrengthMiddle()field.
-
pinchStrengthRing
public float pinchStrengthRing()
- Returns:
- the value of the
XrHandTrackingAimStateFB.pinchStrengthRing()field.
-
pinchStrengthLittle
public float pinchStrengthLittle()
- Returns:
- the value of the
XrHandTrackingAimStateFB.pinchStrengthLittle()field.
-
type
public XrHandTrackingAimStateFB.Buffer type(int value)
Sets the specified value to theXrHandTrackingAimStateFB.type()field.
-
type$Default
public XrHandTrackingAimStateFB.Buffer type$Default()
Sets theTYPE_HAND_TRACKING_AIM_STATE_FBvalue to theXrHandTrackingAimStateFB.type()field.
-
next
public XrHandTrackingAimStateFB.Buffer next(long value)
Sets the specified value to theXrHandTrackingAimStateFB.next()field.
-
-