XrPassthroughKeyboardHandsIntensityFB describes intensities of passthrough hands, and is used as a parameter to PassthroughLayerSetKeyboardHandsIntensityFB.
Each of the intensity values leftHandIntensity and rightHandIntensity must be in the range [0.0, 1.0]. The hand intensity value represents the level of visibility of rendered hand, the minimal value of the intensity 0.0 represents the fully transparent hand (not visible), the maximal value of 1.0 represented fully opaque hands (maximal visibility).
If either leftHandIntensity or rightHandIntensity is outside the range [0.0, 1.0], the runtime must return ERROR_VALIDATION_FAILURE.
XR_FB_passthrough_keyboard_hands extension must be enabled prior to using XrPassthroughKeyboardHandsIntensityFBtype must be TYPE_PASSTHROUGH_KEYBOARD_HANDS_INTENSITY_FBnext must be NULL or a valid pointer to the next structure in a structure chainPassthroughLayerSetKeyboardHandsIntensityFB
struct XrPassthroughKeyboardHandsIntensityFB {
XrStructureType type;
void const * next;
float leftHandIntensity;
float rightHandIntensity;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrPassthroughKeyboardHandsIntensityFB.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | LEFTHANDINTENSITY
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | RIGHTHANDINTENSITY
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrPassthroughKeyboardHandsIntensityFB(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB | |
| public static XrPassthroughKeyboardHandsIntensityFB. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrPassthroughKeyboardHandsIntensityFB | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPassthroughKeyboardHandsIntensityFB. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrPassthroughKeyboardHandsIntensityFB | 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 XrPassthroughKeyboardHandsIntensityFB | |
| public static XrPassthroughKeyboardHandsIntensityFB | create(long address)
Returns a new |
| public static XrPassthroughKeyboardHandsIntensityFB. | create(int
the buffer capacity capacity)Returns a new |
| public static XrPassthroughKeyboardHandsIntensityFB. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrPassthroughKeyboardHandsIntensityFB | |
| public static XrPassthroughKeyboardHandsIntensityFB. | |
| public float | |
| public XrPassthroughKeyboardHandsIntensityFB | |
| public static XrPassthroughKeyboardHandsIntensityFB | |
| public static XrPassthroughKeyboardHandsIntensityFB. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrPassthroughKeyboardHandsIntensityFB | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPassthroughKeyboardHandsIntensityFB. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public XrPassthroughKeyboardHandsIntensityFB | |
| public static float | |
| public static void | |
| public static long | |
| public static void | |
| public static float | |
| public static void | |
| public static int | |
| public static void | |
| public float | |
| public XrPassthroughKeyboardHandsIntensityFB | |
| public XrPassthroughKeyboardHandsIntensityFB | set(int type, long next, float leftHandIntensity, float rightHandIntensity)
Initializes this struct with the specified values. |
| public XrPassthroughKeyboardHandsIntensityFB | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrPassthroughKeyboardHandsIntensityFB | |
| public XrPassthroughKeyboardHandsIntensityFB |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| LEFTHANDINTENSITY | back to summary |
|---|---|
| public static final int LEFTHANDINTENSITY The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| RIGHTHANDINTENSITY | back to summary |
|---|---|
| public static final int RIGHTHANDINTENSITY The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrPassthroughKeyboardHandsIntensityFB | back to summary |
|---|---|
| protected XrPassthroughKeyboardHandsIntensityFB(long address, ByteBuffer container) | |
| XrPassthroughKeyboardHandsIntensityFB | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrPassthroughKeyboardHandsIntensityFB create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Like
| |
| leftHandIntensity | back to summary |
|---|---|
| public float leftHandIntensity() defines an intensity for the left tracked hand. | |
| leftHandIntensity | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB leftHandIntensity(float value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPassthroughKeyboardHandsIntensityFB. Returns a new
| |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB next(long value) Sets the specified value to the | |
| nleftHandIntensity | back to summary |
|---|---|
| public static float nleftHandIntensity(long struct) Unsafe version of | |
| nleftHandIntensity | back to summary |
|---|---|
| public static void nleftHandIntensity(long struct, float value) Unsafe version of | |
| 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 | |
| nrightHandIntensity | back to summary |
|---|---|
| public static float nrightHandIntensity(long struct) Unsafe version of | |
| nrightHandIntensity | back to summary |
|---|---|
| public static void nrightHandIntensity(long struct, float value) 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 | |
| rightHandIntensity | back to summary |
|---|---|
| public float rightHandIntensity() defines an intensity for the right tracked hand. | |
| rightHandIntensity | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB rightHandIntensity(float value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB set(int type, long next, float leftHandIntensity, float rightHandIntensity) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB set(XrPassthroughKeyboardHandsIntensityFB src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB type$Default() Sets the | |
XrPassthroughKeyboardHandsIntensityFB structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrPassthroughKeyboardHandsIntensityFB |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrPassthroughKeyboardHandsIntensityFB 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 XrPassthroughKeyboardHandsIntensityFB getElementFactory() Implements abstract org.
| |
| leftHandIntensity | back to summary |
|---|---|
public float leftHandIntensity()
| |
| leftHandIntensity | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB. Sets the specified value to the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB. Sets the specified value to the | |
| rightHandIntensity | back to summary |
|---|---|
public float rightHandIntensity()
| |
| rightHandIntensity | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrPassthroughKeyboardHandsIntensityFB. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrPassthroughKeyboardHandsIntensityFB. Sets the | |