XR_FB_hand_tracking_aim extension must be enabled prior to using XrHandTrackingAimStateFBtype must be TYPE_HAND_TRACKING_AIM_STATE_FBnext must be NULL or a valid pointer to the next structure in a structure chain
struct XrHandTrackingAimStateFB {
XrStructureType type;
void * next;
XrHandTrackingAimFlagsFB status;
XrPosef aimPose;
float pinchStrengthIndex;
float pinchStrengthMiddle;
float pinchStrengthRing;
float pinchStrengthLittle;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrHandTrackingAimStateFB.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | AIMPOSE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | PINCHSTRENGTHINDEX
The struct member offsets. |
| public static final int | PINCHSTRENGTHLITTLE
The struct member offsets. |
| public static final int | PINCHSTRENGTHMIDDLE
The struct member offsets. |
| public static final int | PINCHSTRENGTHRING
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STATUS
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrHandTrackingAimStateFB(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public XrPosef | |
| public static XrHandTrackingAimStateFB | |
| public static XrHandTrackingAimStateFB. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrHandTrackingAimStateFB | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrHandTrackingAimStateFB. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrHandTrackingAimStateFB | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrHandTrackingAimStateFB | |
| public static XrHandTrackingAimStateFB | create(long address)
Returns a new |
| public static XrHandTrackingAimStateFB. | create(int
the buffer capacity capacity)Returns a new |
| public static XrHandTrackingAimStateFB. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrHandTrackingAimStateFB | |
| public static XrHandTrackingAimStateFB. | |
| public static XrHandTrackingAimStateFB | |
| public static XrHandTrackingAimStateFB. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrHandTrackingAimStateFB | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrHandTrackingAimStateFB. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XrPosef | |
| public long | |
| public XrHandTrackingAimStateFB | |
| public static long | |
| public static void | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static long | |
| public static int | |
| public static void | |
| public float | |
| public float | |
| public float | |
| public float | |
| public XrHandTrackingAimStateFB | |
| public XrHandTrackingAimStateFB | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | status()
a bitmask of |
| public int | |
| public XrHandTrackingAimStateFB | |
| public XrHandTrackingAimStateFB |
| AIMPOSE | back to summary |
|---|---|
| public static final int AIMPOSE The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| PINCHSTRENGTHINDEX | back to summary |
|---|---|
| public static final int PINCHSTRENGTHINDEX The struct member offsets. | |
| PINCHSTRENGTHLITTLE | back to summary |
|---|---|
| public static final int PINCHSTRENGTHLITTLE The struct member offsets. | |
| PINCHSTRENGTHMIDDLE | back to summary |
|---|---|
| public static final int PINCHSTRENGTHMIDDLE The struct member offsets. | |
| PINCHSTRENGTHRING | back to summary |
|---|---|
| public static final int PINCHSTRENGTHRING The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STATUS | back to summary |
|---|---|
| public static final int STATUS The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrHandTrackingAimStateFB | back to summary |
|---|---|
| protected XrHandTrackingAimStateFB(long address, ByteBuffer container) | |
| XrHandTrackingAimStateFB | back to summary |
|---|---|
| public XrHandTrackingAimStateFB(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| aimPose | back to summary |
|---|---|
| public XrPosef aimPose() a system-determined "aim" pose, similar in intent and convention to the aim poses used with the action system, based on hand data. | |
| calloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrHandTrackingAimStateFB create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Like
| |
| malloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrHandTrackingAimStateFB. Returns a new
| |
| naimPose | back to summary |
|---|---|
| public static XrPosef naimPose(long struct) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrHandTrackingAimStateFB next(long value) Sets the specified value to the | |
| nnext | back to summary |
|---|---|
| public static long nnext(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static void nnext(long struct, long value) Unsafe version of | |
| npinchStrengthIndex | back to summary |
|---|---|
| public static float npinchStrengthIndex(long struct) Unsafe version of | |
| npinchStrengthLittle | back to summary |
|---|---|
| public static float npinchStrengthLittle(long struct) Unsafe version of | |
| npinchStrengthMiddle | back to summary |
|---|---|
| public static float npinchStrengthMiddle(long struct) Unsafe version of | |
| npinchStrengthRing | back to summary |
|---|---|
| public static float npinchStrengthRing(long struct) Unsafe version of | |
| nstatus | back to summary |
|---|---|
| public static long nstatus(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static void ntype(long struct, int value) Unsafe version of | |
| pinchStrengthIndex | back to summary |
|---|---|
| public float pinchStrengthIndex() the current pinching strength for the index finger of this hand. Range is 0.0 to 1.0, with 1.0 meaning index and thumb are fully touching. | |
| pinchStrengthLittle | back to summary |
|---|---|
| public float pinchStrengthLittle() the current pinching strength for the little finger of this hand. Range is 0.0 to 1.0, with 1.0 meaning little and thumb are fully touching. | |
| pinchStrengthMiddle | back to summary |
|---|---|
| public float pinchStrengthMiddle() the current pinching strength for the middle finger of this hand. Range is 0.0 to 1.0, with 1.0 meaning middle and thumb are fully touching. | |
| pinchStrengthRing | back to summary |
|---|---|
| public float pinchStrengthRing() the current pinching strength for the ring finger of this hand. Range is 0.0 to 1.0, with 1.0 meaning ring and thumb are fully touching. | |
| set | back to summary |
|---|---|
| public XrHandTrackingAimStateFB set(int type, long next) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrHandTrackingAimStateFB set(XrHandTrackingAimStateFB src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| status | back to summary |
|---|---|
| public long status() a bitmask of
| |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrHandTrackingAimStateFB type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrHandTrackingAimStateFB type$Default() Sets the | |
XrHandTrackingAimStateFB structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrHandTrackingAimStateFB |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public XrPosef | |
| protected XrHandTrackingAimStateFB | |
| public long | |
| public XrHandTrackingAimStateFB. | |
| public float | |
| public float | |
| public float | |
| public float | |
| protected XrHandTrackingAimStateFB. | |
| public long | |
| public int | |
| public XrHandTrackingAimStateFB. | |
| public XrHandTrackingAimStateFB. | type$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrHandTrackingAimStateFB ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| aimPose | back to summary |
|---|---|
public XrPosef aimPose()
| |
| getElementFactory | back to summary |
|---|---|
| protected XrHandTrackingAimStateFB getElementFactory() Implements abstract org.
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrHandTrackingAimStateFB. Sets the specified value to the | |
| pinchStrengthIndex | back to summary |
|---|---|
public float pinchStrengthIndex()
| |
| pinchStrengthLittle | back to summary |
|---|---|
public float pinchStrengthLittle()
| |
| pinchStrengthMiddle | back to summary |
|---|---|
public float pinchStrengthMiddle()
| |
| pinchStrengthRing | back to summary |
|---|---|
public float pinchStrengthRing()
| |
| self | back to summary |
|---|---|
| protected XrHandTrackingAimStateFB. Implements abstract org.
| |
| status | back to summary |
|---|---|
public long status()
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrHandTrackingAimStateFB. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrHandTrackingAimStateFB. Sets the | |