Share via


AnchorManager.RemoveSpongyAnchorById(AnchorId) Method

Definition

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().

Applies to