Receiving the XrEventDataMarkerTrackingUpdateVARJO event structure indicates that the tracking information has changed. The runtime must not send more than one event per frame per marker. The runtime must send an event if the marker has changed its state (active or inactive). The runtime must send an event if it has detected pose change of the active marker.
XR_VARJO_marker_tracking extension must be enabled prior to using XrEventDataMarkerTrackingUpdateVARJOtype must be TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJOnext must be NULL or a valid pointer to the next structure in a structure chain
struct XrEventDataMarkerTrackingUpdateVARJO {
XrStructureType type;
void const * next;
uint64_t markerId;
XrBool32 isActive;
XrBool32 isPredicted;
XrTime time;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrEventDataMarkerTrackingUpdateVARJO.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ISACTIVE
The struct member offsets. |
| public static final int | ISPREDICTED
The struct member offsets. |
| public static final int | MARKERID
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 | TIME
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrEventDataMarkerTrackingUpdateVARJO(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO | |
| public static XrEventDataMarkerTrackingUpdateVARJO. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrEventDataMarkerTrackingUpdateVARJO | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrEventDataMarkerTrackingUpdateVARJO. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrEventDataMarkerTrackingUpdateVARJO | 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 XrEventDataMarkerTrackingUpdateVARJO | |
| public static XrEventDataMarkerTrackingUpdateVARJO | create(long address)
Returns a new |
| public static XrEventDataMarkerTrackingUpdateVARJO | create(XrEventDataBaseHeader value)
Downcasts the specified |
| public static XrEventDataMarkerTrackingUpdateVARJO. | create(int
the buffer capacity capacity)Returns a new |
| public static XrEventDataMarkerTrackingUpdateVARJO. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrEventDataMarkerTrackingUpdateVARJO. | create(XrEventDataBaseHeader.
Downcasts the specified |
| public static XrEventDataMarkerTrackingUpdateVARJO | |
| public static XrEventDataMarkerTrackingUpdateVARJO. | |
| public boolean | |
| public boolean | |
| public static XrEventDataMarkerTrackingUpdateVARJO | |
| public static XrEventDataMarkerTrackingUpdateVARJO. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrEventDataMarkerTrackingUpdateVARJO | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrEventDataMarkerTrackingUpdateVARJO. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public long | |
| public XrEventDataMarkerTrackingUpdateVARJO | |
| public static int | |
| public static int | |
| public static long | |
| public static long | |
| public static void | |
| public static long | |
| public static int | |
| public static void | |
| public XrEventDataMarkerTrackingUpdateVARJO | |
| public XrEventDataMarkerTrackingUpdateVARJO | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public int | |
| public XrEventDataMarkerTrackingUpdateVARJO | |
| public XrEventDataMarkerTrackingUpdateVARJO |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ISACTIVE | back to summary |
|---|---|
| public static final int ISACTIVE The struct member offsets. | |
| ISPREDICTED | back to summary |
|---|---|
| public static final int ISPREDICTED The struct member offsets. | |
| MARKERID | back to summary |
|---|---|
| public static final int MARKERID The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TIME | back to summary |
|---|---|
| public static final int TIME The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| XrEventDataMarkerTrackingUpdateVARJO | back to summary |
|---|---|
| protected XrEventDataMarkerTrackingUpdateVARJO(long address, ByteBuffer container) | |
| XrEventDataMarkerTrackingUpdateVARJO | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrEventDataMarkerTrackingUpdateVARJO create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO create(XrEventDataBaseHeader value) Downcasts the specified | |
| create | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Create a
| |
| create | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Downcasts the specified | |
| createSafe | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Like
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() the tracking state of the marker.
| |
| isPredicted | back to summary |
|---|---|
public boolean isPredicted()
| |
| malloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrEventDataMarkerTrackingUpdateVARJO. Returns a new
| |
| markerId | back to summary |
|---|---|
| public long markerId() unique identifier of the marker that has been updated.
| |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO next(long value) Sets the specified value to the | |
| nisActive | back to summary |
|---|---|
| public static int nisActive(long struct) Unsafe version of | |
| nisPredicted | back to summary |
|---|---|
| public static int nisPredicted(long struct) Unsafe version of | |
| nmarkerId | back to summary |
|---|---|
| public static long nmarkerId(long struct) 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 | |
| ntime | back to summary |
|---|---|
| public static long ntime(long struct) 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 | |
| set | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO set(int type, long next) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO set(XrEventDataMarkerTrackingUpdateVARJO src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| time | back to summary |
|---|---|
| public long time() the time of the marker update.
| |
| type | back to summary |
|---|---|
| public int type() the
| |
| type | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO type$Default() Sets the | |
XrEventDataMarkerTrackingUpdateVARJO structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrEventDataMarkerTrackingUpdateVARJO |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrEventDataMarkerTrackingUpdateVARJO | |
| public boolean | |
| public boolean | |
| public long | |
| public long | |
| public XrEventDataMarkerTrackingUpdateVARJO. | |
| protected XrEventDataMarkerTrackingUpdateVARJO. | |
| public long | |
| public int | |
| public XrEventDataMarkerTrackingUpdateVARJO. | |
| public XrEventDataMarkerTrackingUpdateVARJO. | type$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrEventDataMarkerTrackingUpdateVARJO 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 XrEventDataMarkerTrackingUpdateVARJO getElementFactory() Implements abstract org.
| |
| isActive | back to summary |
|---|---|
public boolean isActive()
| |
| isPredicted | back to summary |
|---|---|
public boolean isPredicted()
| |
| markerId | back to summary |
|---|---|
public long markerId()
| |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrEventDataMarkerTrackingUpdateVARJO. Implements abstract org.
| |
| time | back to summary |
|---|---|
public long time()
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrEventDataMarkerTrackingUpdateVARJO. Sets the | |