Class CVRSpatialAnchors
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Headers
Assembly: cs.temp.dll.dll
Syntax
public class CVRSpatialAnchors
Methods
CreateSpatialAnchorFromDescriptor(String, ref UInt32)
Declaration
public EVRSpatialAnchorError CreateSpatialAnchorFromDescriptor(string pchDescriptor, ref uint pHandleOut)
Parameters
Returns
Type | Description |
---|---|
EVRSpatial |
CreateSpatialAnchorFromPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t, ref UInt32)
Declaration
public EVRSpatialAnchorError CreateSpatialAnchorFromPose(uint unDeviceIndex, ETrackingUniverseOrigin eOrigin, ref SpatialAnchorPose_t pPose, ref uint pHandleOut)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unDeviceIndex | |
ETracking |
eOrigin | |
Spatial |
pPose | |
UInt32 | pHandleOut |
Returns
Type | Description |
---|---|
EVRSpatial |
GetSpatialAnchorDescriptor(UInt32, StringBuilder, ref UInt32)
Declaration
public EVRSpatialAnchorError GetSpatialAnchorDescriptor(uint unHandle, StringBuilder pchDescriptorOut, ref uint punDescriptorBufferLenInOut)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unHandle | |
String |
pchDescriptorOut | |
UInt32 | punDescriptorBufferLenInOut |
Returns
Type | Description |
---|---|
EVRSpatial |
GetSpatialAnchorPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t)
Declaration
public EVRSpatialAnchorError GetSpatialAnchorPose(uint unHandle, ETrackingUniverseOrigin eOrigin, ref SpatialAnchorPose_t pPoseOut)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unHandle | |
ETracking |
eOrigin | |
Spatial |
pPoseOut |
Returns
Type | Description |
---|---|
EVRSpatial |