Method SetSpatialAnchorComponentStatus
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
ulongThe handle of the spatial anchor
setInfo
YVRSpatialAnchorComponentStatusSetInfoInformation 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