MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / CreateSpatialAnchorFromPose

Method CreateSpatialAnchorFromPose

headers/openvr_api.cs:4589–4594  ·  view source on GitHub ↗
(uint unDeviceIndex,ETrackingUniverseOrigin eOrigin,ref SpatialAnchorPose_t pPose,ref uint pHandleOut)

Source from the content-addressed store, hash-verified

4587 return result;
4588 }
4589 public EVRSpatialAnchorError CreateSpatialAnchorFromPose(uint unDeviceIndex,ETrackingUniverseOrigin eOrigin,ref SpatialAnchorPose_t pPose,ref uint pHandleOut)
4590 {
4591 pHandleOut = 0;
4592 EVRSpatialAnchorError result = FnTable.CreateSpatialAnchorFromPose(unDeviceIndex,eOrigin,ref pPose,ref pHandleOut);
4593 return result;
4594 }
4595 public EVRSpatialAnchorError GetSpatialAnchorPose(uint unHandle,ETrackingUniverseOrigin eOrigin,ref SpatialAnchorPose_t pPoseOut)
4596 {
4597 EVRSpatialAnchorError result = FnTable.GetSpatialAnchorPose(unHandle,eOrigin,ref pPoseOut);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected