Top Description Inners Fields Constructors Methods
org.lwjgl.openxr

public Class XrFaceExpressionWeightsFB

extends Struct<XrFaceExpressionWeightsFB>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Returns the facial expression.
Description

The runtime must return ERROR_VALIDATION_FAILURE if weightCount is not equal to the number of blend shapes defined by the XrFaceExpressionSetFB used to create the XrFaceTrackerFB.

The runtime must return ERROR_VALIDATION_FAILURE if confidenceCount is not equal to the number of confidence areas defined by the XrFaceExpressionSetFB used to create the XrFaceTrackerFB.

The runtime must return weights representing the weights of blend shapes of current facial expression.

The runtime must update the weights array ordered so that the application can index elements using the corresponding facial expression enum (e.g. XrFaceExpressionFB) as described by XrFaceExpressionSetFB when creating the XrFaceTrackerFB. For example, when the XrFaceTrackerFB is created with FACE_EXPRESSION_SET_DEFAULT_FB, the application sets the weightCount to FACE_EXPRESSION_COUNT_FB, and the runtime must fill the weights array ordered so that it can be indexed by the XrFaceExpressionFB enum.

The runtime must update the confidences array ordered so that the application can index elements using the corresponding confidence area enum (e.g. XrFaceConfidenceFB) as described by XrFaceExpressionSetFB when creating the XrFaceTrackerFB. For example, when the XrFaceTrackerFB is created with FACE_EXPRESSION_SET_DEFAULT_FB, the application sets the confidenceCount to FACE_CONFIDENCE_COUNT_FB, and the runtime must fill the confidences array ordered so that it can be indexed by the XrFaceConfidenceFB enum.

Valid Usage (Implicit)
See Also

XrFaceExpressionStatusFB, GetFaceExpressionWeightsFB

Layout


struct XrFaceExpressionWeightsFB {
    XrStructureType type;
    void * next;
    uint32_t weightCount;
    float * weights;
    uint32_t confidenceCount;
    float * confidences;
    XrFaceExpressionStatusFB status;
    XrTime time;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
CONFIDENCECOUNT

The struct member offsets.

public static final int
CONFIDENCES

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
STATUS

The struct member offsets.

public static final int
TIME

The struct member offsets.

public static final int
TYPE

The struct member offsets.

public static final int
WEIGHTCOUNT

The struct member offsets.

public static final int
WEIGHTS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
XrFaceExpressionWeightsFB(long address, ByteBuffer container)

public
XrFaceExpressionWeightsFB(ByteBuffer container)

Creates a XrFaceExpressionWeightsFB instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static XrFaceExpressionWeightsFB
calloc()

Returns a new XrFaceExpressionWeightsFB instance allocated with memCalloc.

public static XrFaceExpressionWeightsFB.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated with memCalloc.

public static XrFaceExpressionWeightsFB
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrFaceExpressionWeightsFB instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static XrFaceExpressionWeightsFB.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public int
confidenceCount()

a uint32_t describing the count of elements in confidences array.

public FloatBuffer
confidences()

a pointer to an application-allocated array of float that will be filled with confidence of tracking specific parts of a face.

public XrFaceExpressionWeightsFB
confidences(FloatBuffer value)

Sets the address of the specified FloatBuffer to the confidences field.

protected XrFaceExpressionWeightsFB
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static XrFaceExpressionWeightsFB
create()

Returns a new XrFaceExpressionWeightsFB instance allocated with BufferUtils.

public static XrFaceExpressionWeightsFB
create(long address)

Returns a new XrFaceExpressionWeightsFB instance for the specified memory address.

public static XrFaceExpressionWeightsFB.Buffer
create(int
the buffer capacity
capacity
)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated with BufferUtils.

public static XrFaceExpressionWeightsFB.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a XrFaceExpressionWeightsFB.Buffer instance at the specified memory.

public static XrFaceExpressionWeightsFB
createSafe(long address)

Like create, but returns null if address is NULL.

public static XrFaceExpressionWeightsFB.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static XrFaceExpressionWeightsFB
malloc()

Returns a new XrFaceExpressionWeightsFB instance allocated with memAlloc.

public static XrFaceExpressionWeightsFB.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated with memAlloc.

public static XrFaceExpressionWeightsFB
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new XrFaceExpressionWeightsFB instance allocated on the specified MemoryStack.

public static XrFaceExpressionWeightsFB.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated on the specified MemoryStack.

public static int
nconfidenceCount(long struct)

Unsafe version of confidenceCount.

public static void
nconfidenceCount(long struct, int value)

Sets the specified value to the confidenceCount field of the specified struct.

public static FloatBuffer
nconfidences(long struct)

Unsafe version of confidences.

public static void
nconfidences(long struct, FloatBuffer value)

Unsafe version of confidences.

public long
next()

NULL or a pointer to the next structure in a structure chain.

public XrFaceExpressionWeightsFB
next(long value)

Sets the specified value to the next field.

public static long
nnext(long struct)

Unsafe version of next.

public static void
nnext(long struct, long value)

Unsafe version of next.

public static XrFaceExpressionStatusFB
nstatus(long struct)

Unsafe version of status.

public static void
nstatus(long struct, XrFaceExpressionStatusFB value)

Unsafe version of status.

public static long
ntime(long struct)

Unsafe version of time.

public static void
ntime(long struct, long value)

Unsafe version of time.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static int
nweightCount(long struct)

Unsafe version of weightCount.

public static void
nweightCount(long struct, int value)

Sets the specified value to the weightCount field of the specified struct.

public static FloatBuffer
nweights(long struct)

Unsafe version of weights.

public static void
nweights(long struct, FloatBuffer value)

Unsafe version of weights.

public XrFaceExpressionWeightsFB
set(int type, long next, FloatBuffer weights, FloatBuffer confidences, XrFaceExpressionStatusFB status, long time)

Initializes this struct with the specified values.

public XrFaceExpressionWeightsFB

Returns:

this struct
set
(XrFaceExpressionWeightsFB
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public XrFaceExpressionStatusFB
status()

the XrFaceExpressionStatusFB of validity status of the expression weights.

public XrFaceExpressionWeightsFB
status(XrFaceExpressionStatusFB value)

Copies the specified XrFaceExpressionStatusFB to the status field.

public XrFaceExpressionWeightsFB
status(Consumer<XrFaceExpressionStatusFB> consumer)

Passes the status field to the specified Consumer.

public long
time()

an XrTime time at which the returned expression weights are tracked or extrapolated to.

public XrFaceExpressionWeightsFB
time(long value)

Sets the specified value to the time field.

public int
type()

the XrStructureType of this structure.

public XrFaceExpressionWeightsFB
type(int value)

Sets the specified value to the type field.

public XrFaceExpressionWeightsFB
type$Default()

Sets the TYPE_FACE_EXPRESSION_WEIGHTS_FB value to the type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int
weightCount()

a uint32_t describing the count of elements in weights array.

public FloatBuffer
weights()

a pointer to an application-allocated array of float that will be filled with weights of facial expression blend shapes.

public XrFaceExpressionWeightsFB
weights(FloatBuffer value)

Sets the address of the specified FloatBuffer to the weights field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

CONFIDENCECOUNTback to summary
public static final int CONFIDENCECOUNT

The struct member offsets.

CONFIDENCESback to summary
public static final int CONFIDENCES

The struct member offsets.

NEXTback to summary
public static final int NEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STATUSback to summary
public static final int STATUS

The struct member offsets.

TIMEback to summary
public static final int TIME

The struct member offsets.

TYPEback to summary
public static final int TYPE

The struct member offsets.

WEIGHTCOUNTback to summary
public static final int WEIGHTCOUNT

The struct member offsets.

WEIGHTSback to summary
public static final int WEIGHTS

The struct member offsets.

Constructor Detail

XrFaceExpressionWeightsFBback to summary
protected XrFaceExpressionWeightsFB(long address, ByteBuffer container)
XrFaceExpressionWeightsFBback to summary
public XrFaceExpressionWeightsFB(ByteBuffer container)

Creates a XrFaceExpressionWeightsFB instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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

Method Detail

callocback to summary
public static XrFaceExpressionWeightsFB calloc()

Returns a new XrFaceExpressionWeightsFB instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static XrFaceExpressionWeightsFB.Buffer calloc(int capacity)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static XrFaceExpressionWeightsFB calloc(MemoryStack stack)

Returns a new XrFaceExpressionWeightsFB instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static XrFaceExpressionWeightsFB.Buffer calloc(int capacity, MemoryStack stack)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

confidenceCountback to summary
public int confidenceCount()

a uint32_t describing the count of elements in confidences array.

Annotations
@NativeType:uint32_t
confidencesback to summary
public FloatBuffer confidences()

a pointer to an application-allocated array of float that will be filled with confidence of tracking specific parts of a face.

Annotations
@NativeType:float *
confidencesback to summary
public XrFaceExpressionWeightsFB confidences(FloatBuffer value)

Sets the address of the specified FloatBuffer to the confidences field.

createback to summary
protected XrFaceExpressionWeightsFB create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static XrFaceExpressionWeightsFB create()

Returns a new XrFaceExpressionWeightsFB instance allocated with BufferUtils.

createback to summary
public static XrFaceExpressionWeightsFB create(long address)

Returns a new XrFaceExpressionWeightsFB instance for the specified memory address.

createback to summary
public static XrFaceExpressionWeightsFB.Buffer create(int capacity)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static XrFaceExpressionWeightsFB.Buffer create(long address, int capacity)

Create a XrFaceExpressionWeightsFB.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static XrFaceExpressionWeightsFB createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static XrFaceExpressionWeightsFB.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static XrFaceExpressionWeightsFB malloc()

Returns a new XrFaceExpressionWeightsFB instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static XrFaceExpressionWeightsFB.Buffer malloc(int capacity)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static XrFaceExpressionWeightsFB malloc(MemoryStack stack)

Returns a new XrFaceExpressionWeightsFB instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static XrFaceExpressionWeightsFB.Buffer malloc(int capacity, MemoryStack stack)

Returns a new XrFaceExpressionWeightsFB.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nconfidenceCountback to summary
public static int nconfidenceCount(long struct)

Unsafe version of confidenceCount.

nconfidenceCountback to summary
public static void nconfidenceCount(long struct, int value)

Sets the specified value to the confidenceCount field of the specified struct.

nconfidencesback to summary
public static FloatBuffer nconfidences(long struct)

Unsafe version of confidences.

nconfidencesback to summary
public static void nconfidences(long struct, FloatBuffer value)

Unsafe version of confidences.

nextback to summary
public long next()

NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

Annotations
@NativeType:void *
nextback to summary
public XrFaceExpressionWeightsFB next(long value)

Sets the specified value to the next field.

nnextback to summary
public static long nnext(long struct)

Unsafe version of next.

nnextback to summary
public static void nnext(long struct, long value)

Unsafe version of next.

nstatusback to summary
public static XrFaceExpressionStatusFB nstatus(long struct)

Unsafe version of status.

nstatusback to summary
public static void nstatus(long struct, XrFaceExpressionStatusFB value)

Unsafe version of status.

ntimeback to summary
public static long ntime(long struct)

Unsafe version of time.

ntimeback to summary
public static void ntime(long struct, long value)

Unsafe version of time.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

ntypeback to summary
public static void ntype(long struct, int value)

Unsafe version of type.

nweightCountback to summary
public static int nweightCount(long struct)

Unsafe version of weightCount.

nweightCountback to summary
public static void nweightCount(long struct, int value)

Sets the specified value to the weightCount field of the specified struct.

nweightsback to summary
public static FloatBuffer nweights(long struct)

Unsafe version of weights.

nweightsback to summary
public static void nweights(long struct, FloatBuffer value)

Unsafe version of weights.

setback to summary
public XrFaceExpressionWeightsFB set(int type, long next, FloatBuffer weights, FloatBuffer confidences, XrFaceExpressionStatusFB status, long time)

Initializes this struct with the specified values.

setback to summary
public XrFaceExpressionWeightsFB set(XrFaceExpressionWeightsFB src)

Copies the specified struct data to this struct.

Parameters
src:XrFaceExpressionWeightsFB

the source struct

Returns:XrFaceExpressionWeightsFB

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
statusback to summary
public XrFaceExpressionStatusFB status()

the XrFaceExpressionStatusFB of validity status of the expression weights.

statusback to summary
public XrFaceExpressionWeightsFB status(XrFaceExpressionStatusFB value)

Copies the specified XrFaceExpressionStatusFB to the status field.

statusback to summary
public XrFaceExpressionWeightsFB status(Consumer<XrFaceExpressionStatusFB> consumer)

Passes the status field to the specified Consumer.

timeback to summary
public long time()

an XrTime time at which the returned expression weights are tracked or extrapolated to. Equals the time at which the expression weights were requested if the extrapolating at the time was successful.

Annotations
@NativeType:XrTime
timeback to summary
public XrFaceExpressionWeightsFB time(long value)

Sets the specified value to the time field.

typeback to summary
public int type()

the XrStructureType of this structure.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrFaceExpressionWeightsFB type(int value)

Sets the specified value to the type field.

type$Defaultback to summary
public XrFaceExpressionWeightsFB type$Default()

Sets the TYPE_FACE_EXPRESSION_WEIGHTS_FB value to the type field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

weightCountback to summary
public int weightCount()

a uint32_t describing the count of elements in weights array.

Annotations
@NativeType:uint32_t
weightsback to summary
public FloatBuffer weights()

a pointer to an application-allocated array of float that will be filled with weights of facial expression blend shapes.

Annotations
@NativeType:float *
weightsback to summary
public XrFaceExpressionWeightsFB weights(FloatBuffer value)

Sets the address of the specified FloatBuffer to the weights field.

org.lwjgl.openxr back to summary

public Class XrFaceExpressionWeightsFB.Buffer

extends StructBuffer<XrFaceExpressionWeightsFB, XrFaceExpressionWeightsFB.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of XrFaceExpressionWeightsFB structs.

Field Summary

Modifier and TypeField and Description
private static final XrFaceExpressionWeightsFB

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new XrFaceExpressionWeightsFB.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int
public FloatBuffer

Returns:

a FloatBuffer view of the data pointed to by the XrFaceExpressionWeightsFB#confidences field.
confidences
()

public XrFaceExpressionWeightsFB.Buffer
confidences(FloatBuffer value)

Sets the address of the specified FloatBuffer to the XrFaceExpressionWeightsFB#confidences field.

protected XrFaceExpressionWeightsFB
public long

Returns:

the value of the XrFaceExpressionWeightsFB#next field.
next
()

public XrFaceExpressionWeightsFB.Buffer
next(long value)

Sets the specified value to the XrFaceExpressionWeightsFB#next field.

protected XrFaceExpressionWeightsFB.Buffer
public XrFaceExpressionStatusFB
public XrFaceExpressionWeightsFB.Buffer
public XrFaceExpressionWeightsFB.Buffer
public long

Returns:

the value of the XrFaceExpressionWeightsFB#time field.
time
()

public XrFaceExpressionWeightsFB.Buffer
time(long value)

Sets the specified value to the XrFaceExpressionWeightsFB#time field.

public int

Returns:

the value of the XrFaceExpressionWeightsFB#type field.
type
()

public XrFaceExpressionWeightsFB.Buffer
type(int value)

Sets the specified value to the XrFaceExpressionWeightsFB#type field.

public XrFaceExpressionWeightsFB.Buffer
public int

Returns:

the value of the XrFaceExpressionWeightsFB#weightCount field.
weightCount
()

public FloatBuffer

Returns:

a FloatBuffer view of the data pointed to by the XrFaceExpressionWeightsFB#weights field.
weights
()

public XrFaceExpressionWeightsFB.Buffer
weights(FloatBuffer value)

Sets the address of the specified FloatBuffer to the XrFaceExpressionWeightsFB#weights field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final XrFaceExpressionWeightsFB ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new XrFaceExpressionWeightsFB.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 XrFaceExpressionWeightsFB#SIZEOF, and its mark will be undefined.

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

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

confidenceCountback to summary
public int confidenceCount()
Returns:int

the value of the XrFaceExpressionWeightsFB#confidenceCount field.

Annotations
@NativeType:uint32_t
confidencesback to summary
public FloatBuffer confidences()
Returns:FloatBuffer

a FloatBuffer view of the data pointed to by the XrFaceExpressionWeightsFB#confidences field.

Annotations
@NativeType:float *
confidencesback to summary
public XrFaceExpressionWeightsFB.Buffer confidences(FloatBuffer value)

Sets the address of the specified FloatBuffer to the XrFaceExpressionWeightsFB#confidences field.

getElementFactoryback to summary
protected XrFaceExpressionWeightsFB getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
nextback to summary
public long next()
Returns:long

the value of the XrFaceExpressionWeightsFB#next field.

Annotations
@NativeType:void *
nextback to summary
public XrFaceExpressionWeightsFB.Buffer next(long value)

Sets the specified value to the XrFaceExpressionWeightsFB#next field.

selfback to summary
protected XrFaceExpressionWeightsFB.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
statusback to summary
public XrFaceExpressionStatusFB status()
Returns:XrFaceExpressionStatusFB

a XrFaceExpressionStatusFB view of the XrFaceExpressionWeightsFB#status field.

statusback to summary
public XrFaceExpressionWeightsFB.Buffer status(XrFaceExpressionStatusFB value)

Copies the specified XrFaceExpressionStatusFB to the XrFaceExpressionWeightsFB#status field.

statusback to summary
public XrFaceExpressionWeightsFB.Buffer status(Consumer<XrFaceExpressionStatusFB> consumer)

Passes the XrFaceExpressionWeightsFB#status field to the specified Consumer.

timeback to summary
public long time()
Returns:long

the value of the XrFaceExpressionWeightsFB#time field.

Annotations
@NativeType:XrTime
timeback to summary
public XrFaceExpressionWeightsFB.Buffer time(long value)

Sets the specified value to the XrFaceExpressionWeightsFB#time field.

typeback to summary
public int type()
Returns:int

the value of the XrFaceExpressionWeightsFB#type field.

Annotations
@NativeType:XrStructureType
typeback to summary
public XrFaceExpressionWeightsFB.Buffer type(int value)

Sets the specified value to the XrFaceExpressionWeightsFB#type field.

type$Defaultback to summary
public XrFaceExpressionWeightsFB.Buffer type$Default()

Sets the TYPE_FACE_EXPRESSION_WEIGHTS_FB value to the XrFaceExpressionWeightsFB#type field.

weightCountback to summary
public int weightCount()
Returns:int

the value of the XrFaceExpressionWeightsFB#weightCount field.

Annotations
@NativeType:uint32_t
weightsback to summary
public FloatBuffer weights()
Returns:FloatBuffer

a FloatBuffer view of the data pointed to by the XrFaceExpressionWeightsFB#weights field.

Annotations
@NativeType:float *
weightsback to summary
public XrFaceExpressionWeightsFB.Buffer weights(FloatBuffer value)

Sets the address of the specified FloatBuffer to the XrFaceExpressionWeightsFB#weights field.