Table of Contents

Method SetSpatialAnchorComponentStatus

Namespace
YVR.Core
Assembly
YVR.Core.Runtime.dll

SetSpatialAnchorComponentStatus(ulong, YVRSpatialAnchorComponentStatusSetInfo, Action<YVRSpatialAnchorSetStatusCompleteInfo, bool>)

Sets the status of a component for a specific spatial anchor.

public bool SetSpatialAnchorComponentStatus(ulong anchorHandle, YVRSpatialAnchorComponentStatusSetInfo setInfo, Action<YVRSpatialAnchorSetStatusCompleteInfo, bool> callback)

Parameters

anchorHandle ulong

The handle of the spatial anchor

setInfo YVRSpatialAnchorComponentStatusSetInfo

Information for setting the status of the spatial anchor component

callback Action<YVRSpatialAnchorSetStatusCompleteInfo, bool>

Callback for handling the completion of the status setting process

Returns

bool

True if setting the spatial anchor component status was successful; otherwise, false