Method SetSpatialAnchorComponentStatus
SetSpatialAnchorComponentStatus(ulong, YVRSpatialAnchorComponentStatusSetInfo, Action<YVRSpatialAnchorSetStatusCompleteInfo, bool>)
Sets the status of a component for a specific spatial anchor.
Declaration
public bool SetSpatialAnchorComponentStatus(ulong anchorHandle, YVRSpatialAnchorComponentStatusSetInfo setInfo, Action<YVRSpatialAnchorSetStatusCompleteInfo, bool> callback)
Parameters
Type | Name | Description |
---|---|---|
ulong | anchorHandle | The handle of the spatial anchor |
YVRSpatialAnchorComponentStatusSetInfo | setInfo | Information for setting the status of the spatial anchor component |
Action<YVRSpatialAnchorSetStatusCompleteInfo, bool> | callback | Callback for handling the completion of the status setting process |
Returns
Type | Description |
---|---|
bool | True if setting the spatial anchor component status was successful; otherwise, false |