| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nVRSpatialAnchors_CreateSpatialAnchorFromDescriptor(long pchDescriptor, long pHandleOut)
Unsafe version of: |
| public static int | nVRSpatialAnchors_CreateSpatialAnchorFromPose(int unDeviceIndex, int eOrigin, long pPose, long pHandleOut)
Unsafe version of: |
| public static int | nVRSpatialAnchors_GetSpatialAnchorDescriptor(int unHandle, long pchDescriptorOut, long punDescriptorBufferLenInOut)
Unsafe version of: |
| public static int | nVRSpatialAnchors_GetSpatialAnchorPose(int unHandle, int eOrigin, long pPoseOut)
Unsafe version of: |
| public static int | VRSpatialAnchors_CreateSpatialAnchorFromDescriptor(ByteBuffer pchDescriptor, IntBuffer pHandleOut)
Returns a handle for an spatial anchor described by "descriptor". |
| public static int | VRSpatialAnchors_CreateSpatialAnchorFromDescriptor(CharSequence pchDescriptor, IntBuffer pHandleOut)
Returns a handle for an spatial anchor described by "descriptor". |
| public static int | VRSpatialAnchors_CreateSpatialAnchorFromPose(int unDeviceIndex, int eOrigin, SpatialAnchorPose pPose, IntBuffer pHandleOut)
Returns a handle for an new spatial anchor at |
| public static int | Returns: true if the descriptor fits into the buffer, else false. Buffer size should be at leastk_unMaxSpatialAnchorDescriptorSizeGet the descriptor for a given handle. |
| public static int | VRSpatialAnchors_GetSpatialAnchorPose(int unHandle, int eOrigin, SpatialAnchorPose pPoseOut)
Get the pose for a given handle. |
| VRSpatialAnchors | back to summary |
|---|---|
| protected VRSpatialAnchors() | |
| nVRSpatialAnchors_CreateSpatialAnchorFromDescriptor | back to summary |
|---|---|
| public static int nVRSpatialAnchors_CreateSpatialAnchorFromDescriptor(long pchDescriptor, long pHandleOut) Unsafe version of: | |
| nVRSpatialAnchors_CreateSpatialAnchorFromPose | back to summary |
|---|---|
| public static int nVRSpatialAnchors_CreateSpatialAnchorFromPose(int unDeviceIndex, int eOrigin, long pPose, long pHandleOut) Unsafe version of: | |
| nVRSpatialAnchors_GetSpatialAnchorDescriptor | back to summary |
|---|---|
| public static int nVRSpatialAnchors_GetSpatialAnchorDescriptor(int unHandle, long pchDescriptorOut, long punDescriptorBufferLenInOut) Unsafe version of: | |
| nVRSpatialAnchors_GetSpatialAnchorPose | back to summary |
|---|---|
| public static int nVRSpatialAnchors_GetSpatialAnchorPose(int unHandle, int eOrigin, long pPoseOut) Unsafe version of: | |
| VRSpatialAnchors_CreateSpatialAnchorFromDescriptor | back to summary |
|---|---|
| public static int VRSpatialAnchors_CreateSpatialAnchorFromDescriptor(ByteBuffer pchDescriptor, IntBuffer pHandleOut) Returns a handle for an spatial anchor described by "descriptor". On success,
| |
| VRSpatialAnchors_CreateSpatialAnchorFromDescriptor | back to summary |
|---|---|
| public static int VRSpatialAnchors_CreateSpatialAnchorFromDescriptor(CharSequence pchDescriptor, IntBuffer pHandleOut) Returns a handle for an spatial anchor described by "descriptor". On success,
| |
| VRSpatialAnchors_CreateSpatialAnchorFromPose | back to summary |
|---|---|
| public static int VRSpatialAnchors_CreateSpatialAnchorFromPose(int unDeviceIndex, int eOrigin, SpatialAnchorPose pPose, IntBuffer pHandleOut) Returns a handle for an new spatial anchor at On success, This should be called when the user is close to (and ideally looking at/interacting with) the target physical location. At that moment, the driver will have the most information about how to recover that physical point in the future, and the quality of the anchor (when the descriptor is re-used) will be highest. The caller may decide to apply offsets from this initial pose, but is advised to stay relatively close to the original pose location for highest fidelity.
| |
| VRSpatialAnchors_GetSpatialAnchorDescriptor | back to summary |
|---|---|
| public static int VRSpatialAnchors_GetSpatialAnchorDescriptor(int unHandle, ByteBuffer pchDescriptorOut, IntBuffer punDescriptorBufferLenInOut) Get the descriptor for a given handle. This will be empty for handles where the driver has not yet built a descriptor. It will be the application-supplied descriptor for previously saved
anchors that the application is requesting poses for. If the driver has called
| |
| VRSpatialAnchors_GetSpatialAnchorPose | back to summary |
|---|---|
| public static int VRSpatialAnchors_GetSpatialAnchorPose(int unHandle, int eOrigin, SpatialAnchorPose pPoseOut) Get the pose for a given handle. This is intended to be cheap enough to call every frame (or fairly often) so that the driver can refine this position when it has more information available.
| |