If the returned isValid is FALSE, then it indicates that the face tracker failed to track or lost track of the face, or the application lost focus, or the consent for face tracking was denied.
If the returned isValid is TRUE, the runtime must return all weights (or all weights except eyes related weights, see isEyeFollowingBlendshapesValid).
If the returned isEyeFollowingBlendshapesValid is FALSE, then it indicates that the eye tracking driving blendshapes with prefix XR_FACE_EXPRESSION_EYES_LOOK_* lost track or the consent for eye tracking was denied.
XR_FB_face_tracking extension must be enabled prior to using XrFaceExpressionStatusFB
struct XrFaceExpressionStatusFB {
XrBool32 isValid;
XrBool32 isEyeFollowingBlendshapesValid;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrFaceExpressionStatusFB.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ISEYEFOLLOWINGBLENDSHAPESVALID
The struct member offsets. |
| public static final int | ISVALID
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrFaceExpressionStatusFB(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrFaceExpressionStatusFB | |
| public static XrFaceExpressionStatusFB. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrFaceExpressionStatusFB | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrFaceExpressionStatusFB. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrFaceExpressionStatusFB | 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 XrFaceExpressionStatusFB | |
| public static XrFaceExpressionStatusFB | create(long address)
Returns a new |
| public static XrFaceExpressionStatusFB. | create(int
the buffer capacity capacity)Returns a new |
| public static XrFaceExpressionStatusFB. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrFaceExpressionStatusFB | |
| public static XrFaceExpressionStatusFB. | |
| public boolean | isEyeFollowingBlendshapesValid()
an |
| public XrFaceExpressionStatusFB | isEyeFollowingBlendshapesValid(boolean value)
Sets the specified value to the |
| public boolean | |
| public XrFaceExpressionStatusFB | |
| public static XrFaceExpressionStatusFB | |
| public static XrFaceExpressionStatusFB. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrFaceExpressionStatusFB | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrFaceExpressionStatusFB. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | nisEyeFollowingBlendshapesValid(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public XrFaceExpressionStatusFB | set(boolean isValid, boolean isEyeFollowingBlendshapesValid)
Initializes this struct with the specified values. |
| public XrFaceExpressionStatusFB | 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. | |
| ISEYEFOLLOWINGBLENDSHAPESVALID | back to summary |
|---|---|
| public static final int ISEYEFOLLOWINGBLENDSHAPESVALID The struct member offsets. | |
| ISVALID | back to summary |
|---|---|
| public static final int ISVALID The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| XrFaceExpressionStatusFB | back to summary |
|---|---|
| protected XrFaceExpressionStatusFB(long address, ByteBuffer container) | |
| XrFaceExpressionStatusFB | back to summary |
|---|---|
| public XrFaceExpressionStatusFB(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrFaceExpressionStatusFB create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Like
| |
| isEyeFollowingBlendshapesValid | back to summary |
|---|---|
| public boolean isEyeFollowingBlendshapesValid() an
| |
| isEyeFollowingBlendshapesValid | back to summary |
|---|---|
| public XrFaceExpressionStatusFB isEyeFollowingBlendshapesValid(boolean value) Sets the specified value to the | |
| isValid | back to summary |
|---|---|
| public boolean isValid() an
| |
| isValid | back to summary |
|---|---|
| public XrFaceExpressionStatusFB isValid(boolean value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrFaceExpressionStatusFB. Returns a new
| |
| nisEyeFollowingBlendshapesValid | back to summary |
|---|---|
| public static int nisEyeFollowingBlendshapesValid(long struct) Unsafe version of | |
| nisEyeFollowingBlendshapesValid | back to summary |
|---|---|
| public static void nisEyeFollowingBlendshapesValid(long struct, int value) Unsafe version of | |
| nisValid | back to summary |
|---|---|
| public static int nisValid(long struct) Unsafe version of | |
| nisValid | back to summary |
|---|---|
| public static void nisValid(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrFaceExpressionStatusFB set(boolean isValid, boolean isEyeFollowingBlendshapesValid) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrFaceExpressionStatusFB set(XrFaceExpressionStatusFB src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
XrFaceExpressionStatusFB structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrFaceExpressionStatusFB |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrFaceExpressionStatusFB | |
| public boolean | Returns: the value of theXrFaceExpressionStatusFB#isEyeFollowingBlendshapesValid field.
|
| public XrFaceExpressionStatusFB. | isEyeFollowingBlendshapesValid(boolean value)
Sets the specified value to the |
| public boolean | |
| public XrFaceExpressionStatusFB. | |
| protected XrFaceExpressionStatusFB. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrFaceExpressionStatusFB 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 XrFaceExpressionStatusFB getElementFactory() Implements abstract org.
| |
| isEyeFollowingBlendshapesValid | back to summary |
|---|---|
public boolean isEyeFollowingBlendshapesValid()
| |
| isEyeFollowingBlendshapesValid | back to summary |
|---|---|
| public XrFaceExpressionStatusFB. Sets the specified value to the | |
| isValid | back to summary |
|---|---|
public boolean isValid()
| |
| isValid | back to summary |
|---|---|
| public XrFaceExpressionStatusFB. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrFaceExpressionStatusFB. Implements abstract org.
| |