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
Type | Name | Description |
---|---|---|
String | pchDescriptor | |
UInt32 | pHandleOut |
Returns
Type | Description |
---|---|
EVRSpatialAnchorError |
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 | |
ETrackingUniverseOrigin | eOrigin | |
SpatialAnchorPose_t | pPose | |
UInt32 | pHandleOut |
Returns
Type | Description |
---|---|
EVRSpatialAnchorError |
GetSpatialAnchorDescriptor(UInt32, StringBuilder, ref UInt32)
Declaration
public EVRSpatialAnchorError GetSpatialAnchorDescriptor(uint unHandle, StringBuilder pchDescriptorOut, ref uint punDescriptorBufferLenInOut)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unHandle | |
StringBuilder | pchDescriptorOut | |
UInt32 | punDescriptorBufferLenInOut |
Returns
Type | Description |
---|---|
EVRSpatialAnchorError |
GetSpatialAnchorPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t)
Declaration
public EVRSpatialAnchorError GetSpatialAnchorPose(uint unHandle, ETrackingUniverseOrigin eOrigin, ref SpatialAnchorPose_t pPoseOut)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | unHandle | |
ETrackingUniverseOrigin | eOrigin | |
SpatialAnchorPose_t | pPoseOut |
Returns
Type | Description |
---|---|
EVRSpatialAnchorError |