All arrays are application-allocated, and all may be NULL if any of jointCapacityInput, vertexCapacityInput, or indexCapacityInput is 0.
The data in a fully-populated XrHandTrackingMeshFB is immutable during the lifetime of the corresponding XrInstance, and is intended to be retrieved once then used in combination with data changing per-frame retrieved from LocateHandJointsEXT.
XR_FB_hand_tracking_mesh extension must be enabled prior to using XrHandTrackingMeshFBtype must be TYPE_HAND_TRACKING_MESH_FBnext must be NULL or a valid pointer to the next structure in a structure chainjointCapacityInput is not 0, jointBindPoses must be a pointer to an array of jointCapacityInput XrPosef structuresjointCapacityInput is not 0, jointRadii must be a pointer to an array of jointCapacityInput float valuesjointCapacityInput is not 0, jointParents must be a pointer to an array of jointCapacityInput XrHandJointEXT valuesvertexCapacityInput is not 0, vertexPositions must be a pointer to an array of vertexCapacityInput XrVector3f structuresvertexCapacityInput is not 0, vertexNormals must be a pointer to an array of vertexCapacityInput XrVector3f structuresvertexCapacityInput is not 0, vertexUVs must be a pointer to an array of vertexCapacityInput XrVector2f structuresvertexCapacityInput is not 0, vertexBlendIndices must be a pointer to an array of vertexCapacityInput XrVector4sFB structuresvertexCapacityInput is not 0, vertexBlendWeights must be a pointer to an array of vertexCapacityInput XrVector4f structuresindexCapacityInput is not 0, indices must be a pointer to an array of indexCapacityInput int16_t valuesXrPosef, XrVector2f, XrVector3f, XrVector4f, XrVector4sFB, GetHandMeshFB
struct XrHandTrackingMeshFB {
XrStructureType type;
void * next;
uint32_t jointCapacityInput;
uint32_t jointCountOutput;
XrPosef * jointBindPoses;
float * jointRadii;
XrHandJointEXT * jointParents;
uint32_t vertexCapacityInput;
uint32_t vertexCountOutput;
XrVector3f * vertexPositions;
XrVector3f * vertexNormals;
XrVector2f * vertexUVs;
XrVector4sFB * vertexBlendIndices;
XrVector4f * vertexBlendWeights;
uint32_t indexCapacityInput;
uint32_t indexCountOutput;
int16_t * indices;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrHandTrackingMeshFB.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | INDEXCAPACITYINPUT
The struct member offsets. |
| public static final int | INDEXCOUNTOUTPUT
The struct member offsets. |
| public static final int | INDICES
The struct member offsets. |
| public static final int | JOINTBINDPOSES
The struct member offsets. |
| public static final int | JOINTCAPACITYINPUT
The struct member offsets. |
| public static final int | JOINTCOUNTOUTPUT
The struct member offsets. |
| public static final int | JOINTPARENTS
The struct member offsets. |
| public static final int | JOINTRADII
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | VERTEXBLENDINDICES
The struct member offsets. |
| public static final int | VERTEXBLENDWEIGHTS
The struct member offsets. |
| public static final int | VERTEXCAPACITYINPUT
The struct member offsets. |
| public static final int | VERTEXCOUNTOUTPUT
The struct member offsets. |
| public static final int | VERTEXNORMALS
The struct member offsets. |
| public static final int | VERTEXPOSITIONS
The struct member offsets. |
| public static final int | VERTEXUVS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrHandTrackingMeshFB(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrHandTrackingMeshFB | |
| public static XrHandTrackingMeshFB. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrHandTrackingMeshFB | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrHandTrackingMeshFB. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrHandTrackingMeshFB | 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 XrHandTrackingMeshFB | |
| public static XrHandTrackingMeshFB | |
| public static XrHandTrackingMeshFB. | create(int
the buffer capacity capacity)Returns a new |
| public static XrHandTrackingMeshFB. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrHandTrackingMeshFB | |
| public static XrHandTrackingMeshFB. | |
| public int | indexCapacityInput()
the capacity of the index data arrays in this structure, or 0 to indicate a request to retrieve the required capacity. |
| public XrHandTrackingMeshFB | |
| public int | indexCountOutput()
filled in by the runtime with the count of index data elements written, or the required capacity in the case that any of |
| public XrHandTrackingMeshFB | |
| public ShortBuffer | |
| public XrHandTrackingMeshFB | |
| public XrPosef. | jointBindPoses()
an array of poses that matches what is returned by |
| public XrHandTrackingMeshFB | jointBindPoses(XrPosef.
Sets the address of the specified |
| public int | jointCapacityInput()
the capacity of the joint data arrays in this structure, or 0 to indicate a request to retrieve the required capacity. |
| public XrHandTrackingMeshFB | |
| public int | jointCountOutput()
filled in by the runtime with the count of joint data elements written, or the required capacity in the case that any of |
| public XrHandTrackingMeshFB | |
| public IntBuffer | |
| public XrHandTrackingMeshFB | |
| public FloatBuffer | |
| public XrHandTrackingMeshFB | |
| public static XrHandTrackingMeshFB | |
| public static XrHandTrackingMeshFB. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrHandTrackingMeshFB | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrHandTrackingMeshFB. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public XrHandTrackingMeshFB | |
| public static int | |
| public static void | nindexCapacityInput(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static ShortBuffer | |
| public static void | |
| public static XrPosef. | |
| public static void | |
| public static int | |
| public static void | njointCapacityInput(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static IntBuffer | |
| public static void | |
| public static FloatBuffer | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static XrVector4sFB. | |
| public static void | |
| public static XrVector4f. | |
| public static void | |
| public static int | |
| public static void | nvertexCapacityInput(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static XrVector3f. | |
| public static void | |
| public static XrVector3f. | |
| public static void | |
| public static XrVector2f. | |
| public static void | |
| public XrHandTrackingMeshFB | set(int type, long next, int jointCapacityInput, int jointCountOutput, XrPosef.
Initializes this struct with the specified values. |
| public XrHandTrackingMeshFB | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrHandTrackingMeshFB | |
| public XrHandTrackingMeshFB | |
| public XrVector4sFB. | |
| public XrHandTrackingMeshFB | vertexBlendIndices(XrVector4sFB.
Sets the address of the specified |
| public XrVector4f. | |
| public XrHandTrackingMeshFB | vertexBlendWeights(XrVector4f.
Sets the address of the specified |
| public int | vertexCapacityInput()
the capacity of the vertex data arrays in this structure, or 0 to indicate a request to retrieve the required capacity. |
| public XrHandTrackingMeshFB | |
| public int | vertexCountOutput()
filled in by the runtime with the count of vertex data elements written, or the required capacity in the case that any of |
| public XrHandTrackingMeshFB | |
| public XrVector3f. | |
| public XrHandTrackingMeshFB | vertexNormals(XrVector3f.
Sets the address of the specified |
| public XrVector3f. | |
| public XrHandTrackingMeshFB | vertexPositions(XrVector3f.
Sets the address of the specified |
| public XrVector2f. | |
| public XrHandTrackingMeshFB | vertexUVs(XrVector2f.
Sets the address of the specified |