type must be TYPE_SPACE_VELOCITYnext must be NULL or a valid pointer to the next structure in a structure chainvelocityFlags must be 0 or a valid combination of XrSpaceVelocityFlagBits valuesXrSpaceLocation, XrVector3f, LocateSpace
struct XrSpaceVelocity {
XrStructureType type;
void * next;
XrSpaceVelocityFlags velocityFlags;
XrVector3f linearVelocity;
XrVector3f angularVelocity;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrSpaceVelocity.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ANGULARVELOCITY
The struct member offsets. |
| public static final int | LINEARVELOCITY
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 | VELOCITYFLAGS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrSpaceVelocity(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public XrVector3f | angularVelocity()
the relative angular velocity of |
| public XrSpaceVelocity | |
| public XrSpaceVelocity | angularVelocity(Consumer<XrVector3f> consumer)
Passes the |
| public static XrSpaceVelocity | |
| public static XrSpaceVelocity. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrSpaceVelocity | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSpaceVelocity. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrSpaceVelocity | 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 XrSpaceVelocity | |
| public static XrSpaceVelocity | |
| public static XrSpaceVelocity. | create(int
the buffer capacity capacity)Returns a new |
| public static XrSpaceVelocity. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrSpaceVelocity | |
| public static XrSpaceVelocity. | |
| public XrVector3f | linearVelocity()
the relative linear velocity of the origin of |
| public XrSpaceVelocity | |
| public XrSpaceVelocity | linearVelocity(Consumer<XrVector3f> consumer)
Passes the |
| public static XrSpaceVelocity | |
| public static XrSpaceVelocity. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrSpaceVelocity | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrSpaceVelocity. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XrVector3f | |
| public static void | |
| public long | |
| public XrSpaceVelocity | |
| public static XrVector3f | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public XrSpaceVelocity | set(int type, long next, long velocityFlags, XrVector3f linearVelocity, XrVector3f angularVelocity)
Initializes this struct with the specified values. |
| public XrSpaceVelocity | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public XrSpaceVelocity | |
| public XrSpaceVelocity | |
| public long | velocityFlags()
a bitfield, with bit masks defined in |
| public XrSpaceVelocity |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ANGULARVELOCITY | back to summary |
|---|---|
| public static final int ANGULARVELOCITY The struct member offsets. | |
| LINEARVELOCITY | back to summary |
|---|---|
| public static final int LINEARVELOCITY 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. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| VELOCITYFLAGS | back to summary |
|---|---|
| public static final int VELOCITYFLAGS The struct member offsets. | |
| XrSpaceVelocity | back to summary |
|---|---|
| protected XrSpaceVelocity(long address, ByteBuffer container) | |
| XrSpaceVelocity | back to summary |
|---|---|
| public XrSpaceVelocity(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| angularVelocity | back to summary |
|---|---|
| public XrVector3f angularVelocity() the relative angular velocity of | |
| angularVelocity | back to summary |
|---|---|
| public XrSpaceVelocity angularVelocity(XrVector3f value) Copies the specified | |
| angularVelocity | back to summary |
|---|---|
| public XrSpaceVelocity angularVelocity(Consumer<XrVector3f> consumer) Passes the | |
| calloc | back to summary |
|---|---|
| public static XrSpaceVelocity calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrSpaceVelocity. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSpaceVelocity calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrSpaceVelocity. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrSpaceVelocity create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrSpaceVelocity create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrSpaceVelocity create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrSpaceVelocity. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrSpaceVelocity. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrSpaceVelocity createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrSpaceVelocity. Like
| |
| linearVelocity | back to summary |
|---|---|
| public XrVector3f linearVelocity() the relative linear velocity of the origin of | |
| linearVelocity | back to summary |
|---|---|
| public XrSpaceVelocity linearVelocity(XrVector3f value) Copies the specified | |
| linearVelocity | back to summary |
|---|---|
| public XrSpaceVelocity linearVelocity(Consumer<XrVector3f> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static XrSpaceVelocity malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrSpaceVelocity. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSpaceVelocity malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrSpaceVelocity. Returns a new
| |
| nangularVelocity | back to summary |
|---|---|
| public static XrVector3f nangularVelocity(long struct) Unsafe version of | |
| nangularVelocity | back to summary |
|---|---|
| public static void nangularVelocity(long struct, XrVector3f value) Unsafe version of | |
| next | back to summary |
|---|---|
| public long next()
| |
| next | back to summary |
|---|---|
| public XrSpaceVelocity next(long value) Sets the specified value to the | |
| nlinearVelocity | back to summary |
|---|---|
| public static XrVector3f nlinearVelocity(long struct) Unsafe version of | |
| nlinearVelocity | back to summary |
|---|---|
| public static void nlinearVelocity(long struct, XrVector3f 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 | |
| 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 | |
| nvelocityFlags | back to summary |
|---|---|
| public static long nvelocityFlags(long struct) Unsafe version of | |
| nvelocityFlags | back to summary |
|---|---|
| public static void nvelocityFlags(long struct, long value) Unsafe version of | |
| set | back to summary |
|---|---|
| public XrSpaceVelocity set(int type, long next, long velocityFlags, XrVector3f linearVelocity, XrVector3f angularVelocity) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrSpaceVelocity set(XrSpaceVelocity 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 XrSpaceVelocity type(int value) Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSpaceVelocity type$Default() Sets the | |
| velocityFlags | back to summary |
|---|---|
| public long velocityFlags() a bitfield, with bit masks defined in
| |
| velocityFlags | back to summary |
|---|---|
| public XrSpaceVelocity velocityFlags(long value) Sets the specified value to the | |
XrSpaceVelocity structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrSpaceVelocity |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public XrVector3f | |
| public XrSpaceVelocity. | angularVelocity(XrVector3f value)
Copies the specified |
| public XrSpaceVelocity. | angularVelocity(Consumer<XrVector3f> consumer)
Passes the |
| protected XrSpaceVelocity | |
| public XrVector3f | |
| public XrSpaceVelocity. | linearVelocity(XrVector3f value)
Copies the specified |
| public XrSpaceVelocity. | linearVelocity(Consumer<XrVector3f> consumer)
Passes the |
| public long | |
| public XrSpaceVelocity. | |
| protected XrSpaceVelocity. | |
| public int | |
| public XrSpaceVelocity. | |
| public XrSpaceVelocity. | |
| public long | |
| public XrSpaceVelocity. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrSpaceVelocity 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) | |
| angularVelocity | back to summary |
|---|---|
public XrVector3f angularVelocity()
| |
| angularVelocity | back to summary |
|---|---|
| public XrSpaceVelocity. Copies the specified | |
| angularVelocity | back to summary |
|---|---|
| public XrSpaceVelocity. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected XrSpaceVelocity getElementFactory() Implements abstract org.
| |
| linearVelocity | back to summary |
|---|---|
public XrVector3f linearVelocity()
| |
| linearVelocity | back to summary |
|---|---|
| public XrSpaceVelocity. Copies the specified | |
| linearVelocity | back to summary |
|---|---|
| public XrSpaceVelocity. Passes the | |
| next | back to summary |
|---|---|
public long next()
| |
| next | back to summary |
|---|---|
| public XrSpaceVelocity. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected XrSpaceVelocity. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| type | back to summary |
|---|---|
| public XrSpaceVelocity. Sets the specified value to the | |
| type$Default | back to summary |
|---|---|
| public XrSpaceVelocity. Sets the | |
| velocityFlags | back to summary |
|---|---|
public long velocityFlags()
| |
| velocityFlags | back to summary |
|---|---|
| public XrSpaceVelocity. Sets the specified value to the | |