Show / Hide Table of Contents

    Class CVRSpatialAnchors

    Inheritance
    System.Object
    CVRSpatialAnchors
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Valve.VR
    Assembly: Assembly-CSharp.dll
    Syntax
    public class CVRSpatialAnchors

    Methods

    CreateSpatialAnchorFromDescriptor(String, ref UInt32)

    Declaration
    public EVRSpatialAnchorError CreateSpatialAnchorFromDescriptor(string pchDescriptor, ref uint pHandleOut)
    Parameters
    Type Name Description
    System.String pchDescriptor
    System.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
    System.UInt32 unDeviceIndex
    ETrackingUniverseOrigin eOrigin
    SpatialAnchorPose_t pPose
    System.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
    System.UInt32 unHandle
    System.Text.StringBuilder pchDescriptorOut
    System.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
    System.UInt32 unHandle
    ETrackingUniverseOrigin eOrigin
    SpatialAnchorPose_t pPoseOut
    Returns
    Type Description
    EVRSpatialAnchorError
    In This Article
    • Methods
      • CreateSpatialAnchorFromDescriptor(String, ref UInt32)
      • CreateSpatialAnchorFromPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t, ref UInt32)
      • GetSpatialAnchorDescriptor(UInt32, StringBuilder, ref UInt32)
      • GetSpatialAnchorPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t)
    Back to top Copyright (c) Valve Corporation, All rights reserved.