AnchorManager.RemoveSpongyAnchorById(AnchorId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Remove all internal references to the anchor identified.
protected void RemoveSpongyAnchorById (Microsoft.MixedReality.WorldLocking.Core.AnchorId id);
member this.RemoveSpongyAnchorById : Microsoft.MixedReality.WorldLocking.Core.AnchorId -> unit
Protected Sub RemoveSpongyAnchorById (id As AnchorId)
Parameters
- id
- AnchorId
The anchor to forget.
Remarks
It is not an error to pass in AnchorId.Unknown or AnchorId.Invalid, although neither will have any effect. It is an error to pass in a valid id which doesn't correspond to a valid anchor. This function should be called as part of any IAnchorManager's implementation of DestroyAnchor().