Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    CVRSpatialAnchors Class

    Namespace: Valve.VR
    Assembly: Stride.VirtualReality.dll
    System.Object → CVRSpatialAnchors
    Derived from CVRSpatialAnchors:

    public class CVRSpatialAnchors
    Name Description
    Methods
    CreateSpatialAnchorFromDescriptor(String, ref UInt32)
    CreateSpatialAnchorFromPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t, ref UInt32)
    GetSpatialAnchorDescriptor(UInt32, StringBuilder, ref UInt32)
    GetSpatialAnchorPose(UInt32, ETrackingUniverseOrigin, ref SpatialAnchorPose_t)
    | Improve this Doc View Source

    Methods


    CreateSpatialAnchorFromDescriptor(String, ref UInt32)

    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)

    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)

    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)

    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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation