If the returned locationFlags has SPACE_LOCATION_POSITION_VALID_BIT set, the returned radius must be a positive value.
If the returned locationFlags has SPACE_LOCATION_POSITION_VALID_BIT unset, the returned radius value is undefined and should be avoided.
XR_EXT_hand_tracking extension must be enabled prior to using XrHandJointLocationEXTlocationFlags must be 0 or a valid combination of XrSpaceLocationFlagBits valuesXrHandJointLocationsEXT, XrPosef
struct XrHandJointLocationEXT {
XrSpaceLocationFlags locationFlags;
XrPosef pose;
float radius;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrHandJointLocationEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | LOCATIONFLAGS
The struct member offsets. |
| public static final int | POSE
The struct member offsets. |
| public static final int | RADIUS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrHandJointLocationEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrHandJointLocationEXT | |
| public static XrHandJointLocationEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrHandJointLocationEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrHandJointLocationEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrHandJointLocationEXT | 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 XrHandJointLocationEXT | |
| public static XrHandJointLocationEXT | |
| public static XrHandJointLocationEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static XrHandJointLocationEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrHandJointLocationEXT | |
| public static XrHandJointLocationEXT. | |
| public long | locationFlags()
a bitfield, with bit masks defined in |
| public XrHandJointLocationEXT | |
| public static XrHandJointLocationEXT | |
| public static XrHandJointLocationEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrHandJointLocationEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrHandJointLocationEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static XrPosef | |
| public static void | |
| public static float | |
| public static void | |
| public XrPosef | pose()
an |
| public XrHandJointLocationEXT | |
| public XrHandJointLocationEXT | |
| public float | |
| public XrHandJointLocationEXT | |
| public XrHandJointLocationEXT | |
| public XrHandJointLocationEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| LOCATIONFLAGS | back to summary |
|---|---|
| public static final int LOCATIONFLAGS The struct member offsets. | |
| POSE | back to summary |
|---|---|
| public static final int POSE The struct member offsets. | |
| RADIUS | back to summary |
|---|---|
| public static final int RADIUS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| XrHandJointLocationEXT | back to summary |
|---|---|
| protected XrHandJointLocationEXT(long address, ByteBuffer container) | |
| XrHandJointLocationEXT | back to summary |
|---|---|
| public XrHandJointLocationEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrHandJointLocationEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrHandJointLocationEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrHandJointLocationEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrHandJointLocationEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Like
| |
| locationFlags | back to summary |
|---|---|
| public long locationFlags() a bitfield, with bit masks defined in
| |
| locationFlags | back to summary |
|---|---|
| public XrHandJointLocationEXT locationFlags(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrHandJointLocationEXT. Returns a new
| |
| nlocationFlags | back to summary |
|---|---|
| public static long nlocationFlags(long struct) Unsafe version of | |
| nlocationFlags | back to summary |
|---|---|
| public static void nlocationFlags(long struct, long value) Unsafe version of | |
| npose | back to summary |
|---|---|
| public static XrPosef npose(long struct) Unsafe version of | |
| npose | back to summary |
|---|---|
| public static void npose(long struct, XrPosef value) Unsafe version of | |
| nradius | back to summary |
|---|---|
| public static float nradius(long struct) Unsafe version of | |
| nradius | back to summary |
|---|---|
| public static void nradius(long struct, float value) Unsafe version of | |
| pose | back to summary |
|---|---|
| public XrPosef pose() an | |
| pose | back to summary |
|---|---|
| public XrHandJointLocationEXT pose(XrPosef value) | |
| pose | back to summary |
|---|---|
| public XrHandJointLocationEXT pose(Consumer<XrPosef> consumer) | |
| radius | back to summary |
|---|---|
| public float radius() a | |
| radius | back to summary |
|---|---|
| public XrHandJointLocationEXT radius(float value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrHandJointLocationEXT set(long locationFlags, XrPosef pose, float radius) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrHandJointLocationEXT set(XrHandJointLocationEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
XrHandJointLocationEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrHandJointLocationEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrHandJointLocationEXT | |
| public long | |
| public XrHandJointLocationEXT. | locationFlags(long value)
Sets the specified value to the |
| public XrPosef | |
| public XrHandJointLocationEXT. | |
| public XrHandJointLocationEXT. | pose(Consumer<XrPosef> consumer)
Passes the |
| public float | |
| public XrHandJointLocationEXT. | |
| protected XrHandJointLocationEXT. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrHandJointLocationEXT 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) | |
| getElementFactory | back to summary |
|---|---|
| protected XrHandJointLocationEXT getElementFactory() Implements abstract org.
| |
| locationFlags | back to summary |
|---|---|
public long locationFlags()
| |
| locationFlags | back to summary |
|---|---|
| public XrHandJointLocationEXT. Sets the specified value to the | |
| pose | back to summary |
|---|---|
public XrPosef pose()
| |
| pose | back to summary |
|---|---|
| public XrHandJointLocationEXT. Copies the specified | |
| pose | back to summary |
|---|---|
| public XrHandJointLocationEXT. Passes the | |
| radius | back to summary |
|---|---|
public float radius()
| |
| radius | back to summary |
|---|---|
| public XrHandJointLocationEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrHandJointLocationEXT. Implements abstract org.
| |