A runtime must return ERROR_POSE_INVALID if the orientation norm deviates by more than 1% from unit length.
XrActionSpaceCreateInfo, XrBodyJointLocationFB, XrBodySkeletonJointFB, XrCompositionLayerCylinderKHR, XrCompositionLayerEquirect2KHR, XrCompositionLayerEquirectKHR, XrCompositionLayerProjectionView, XrCompositionLayerQuad, XrCompositionLayerSpaceWarpInfoFB, XrControllerModelNodeStateMSFT, XrCoordinateSpaceCreateInfoML, XrEventDataReferenceSpaceChangePending, XrExternalCameraExtrinsicsOCULUS, XrEyeGazeFB, XrGeometryInstanceCreateInfoFB, XrGeometryInstanceTransformFB, XrHandJointLocationEXT, XrHandMeshSpaceCreateInfoMSFT, XrHandTrackingAimStateFB, XrHandTrackingMeshFB, XrMarkerSpaceCreateInfoVARJO, XrPassthroughMeshTransformInfoHTC, XrPlaneDetectorBeginInfoEXT, XrPlaneDetectorLocationEXT, XrQuaternionf, XrReferenceSpaceCreateInfo, XrSceneComponentLocationMSFT, XrSceneFrustumBoundMSFT, XrSceneOrientedBoxBoundMSFT, XrSpaceLocation, XrSpatialAnchorCreateInfoFB, XrSpatialAnchorCreateInfoMSFT, XrSpatialAnchorSpaceCreateInfoMSFT, XrSpatialGraphNodeBindingPropertiesMSFT, XrSpatialGraphNodeSpaceCreateInfoMSFT, XrSpatialGraphStaticNodeBindingCreateInfoMSFT, XrVector2f, XrVector3f, XrVector4f, XrView, XrVirtualKeyboardInputInfoMETA, XrVirtualKeyboardLocationInfoMETA, XrVirtualKeyboardSpaceCreateInfoMETA, SendVirtualKeyboardInputMETA, SetInputDeviceLocationEXT
struct XrPosef {
XrQuaternionf orientation;
XrVector3f position;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrPosef.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ORIENTATION
The struct member offsets. |
| public static final int | POSITION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrPosef(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static XrPosef | |
| public static XrPosef. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrPosef | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPosef. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrPosef | 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 XrPosef | |
| public static XrPosef | |
| public static XrPosef. | create(int
the buffer capacity capacity)Returns a new |
| public static XrPosef. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrPosef | |
| public static XrPosef. | |
| public static XrPosef | |
| public static XrPosef. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrPosef | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPosef. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static XrQuaternionf | |
| public static void | |
| public static XrVector3f | |
| public static void | |
| public XrQuaternionf | |
| public XrPosef | |
| public XrPosef | orientation(Consumer<XrQuaternionf> consumer)
Passes the |
| public XrVector3f | |
| public XrPosef | |
| public XrPosef | |
| public XrPosef | set(XrQuaternionf orientation, XrVector3f position$)
Initializes this struct with the specified values. |
| public XrPosef | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ORIENTATION | back to summary |
|---|---|
| public static final int ORIENTATION The struct member offsets. | |
| POSITION | back to summary |
|---|---|
| public static final int POSITION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| XrPosef | back to summary |
|---|---|
| protected XrPosef(long address, ByteBuffer container) | |
| XrPosef | back to summary |
|---|---|
| public XrPosef(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static XrPosef calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrPosef. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPosef calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPosef. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrPosef create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrPosef create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrPosef create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrPosef. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrPosef. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrPosef createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrPosef. Like
| |
| malloc | back to summary |
|---|---|
| public static XrPosef malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrPosef. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPosef malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPosef. Returns a new
| |
| norientation | back to summary |
|---|---|
| public static XrQuaternionf norientation(long struct) Unsafe version of | |
| norientation | back to summary |
|---|---|
| public static void norientation(long struct, XrQuaternionf value) Unsafe version of | |
| nposition$ | back to summary |
|---|---|
| public static XrVector3f nposition$(long struct) Unsafe version of | |
| nposition$ | back to summary |
|---|---|
| public static void nposition$(long struct, XrVector3f value) Unsafe version of | |
| orientation | back to summary |
|---|---|
| public XrQuaternionf orientation() an | |
| orientation | back to summary |
|---|---|
| public XrPosef orientation(XrQuaternionf value) Copies the specified | |
| orientation | back to summary |
|---|---|
| public XrPosef orientation(Consumer<XrQuaternionf> consumer) Passes the | |
| position$ | back to summary |
|---|---|
| public XrVector3f position$() an | |
| position$ | back to summary |
|---|---|
| public XrPosef position$(XrVector3f value) Copies the specified | |
| position$ | back to summary |
|---|---|
| public XrPosef position$(Consumer<XrVector3f> consumer) | |
| set | back to summary |
|---|---|
| public XrPosef set(XrQuaternionf orientation, XrVector3f position$) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public XrPosef set(XrPosef src) Copies the specified struct data to this struct. | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
XrPosef structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrPosef |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected XrPosef | |
| public XrQuaternionf | |
| public XrPosef. | orientation(XrQuaternionf value)
Copies the specified |
| public XrPosef. | orientation(Consumer<XrQuaternionf> consumer)
Passes the |
| public XrVector3f | |
| public XrPosef. | |
| public XrPosef. | position$(Consumer<XrVector3f> consumer)
Passes the |
| protected XrPosef. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrPosef 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 XrPosef getElementFactory() Implements abstract org.
| |
| orientation | back to summary |
|---|---|
public XrQuaternionf orientation()
| |
| orientation | back to summary |
|---|---|
| public XrPosef. Copies the specified | |
| orientation | back to summary |
|---|---|
| public XrPosef. Passes the | |
| position$ | back to summary |
|---|---|
public XrVector3f position$()
| |
| position$ | back to summary |
|---|---|
| public XrPosef. Copies the specified | |
| position$ | back to summary |
|---|---|
| public XrPosef. Passes the | |
| self | back to summary |
|---|---|
| protected XrPosef. Implements abstract org.
| |