Share via


AnchorManagerNull.LoadAnchors Method

Definition

Load the spongy anchors from persistent storage

protected override System.Threading.Tasks.Task LoadAnchors (Microsoft.MixedReality.WorldLocking.Core.IPlugin plugin, Microsoft.MixedReality.WorldLocking.Core.AnchorId firstId, UnityEngine.Transform parent, System.Collections.Generic.List<Microsoft.MixedReality.WorldLocking.Core.AnchorManager.SpongyAnchorWithId> spongyAnchors);
override this.LoadAnchors : Microsoft.MixedReality.WorldLocking.Core.IPlugin * Microsoft.MixedReality.WorldLocking.Core.AnchorId * UnityEngine.Transform * System.Collections.Generic.List<Microsoft.MixedReality.WorldLocking.Core.AnchorManager.SpongyAnchorWithId> -> System.Threading.Tasks.Task
Protected Overrides Function LoadAnchors (plugin As IPlugin, firstId As AnchorId, parent As Transform, spongyAnchors As List(Of AnchorManager.SpongyAnchorWithId)) As Task

Parameters

plugin
IPlugin
firstId
AnchorId
parent
UnityEngine.Transform

Returns

Remarks

The set of spongy anchors loaded by this routine is defined by the frozen anchors previously loaded into the plugin.

Likewise, when a spongy anchor fails to load, this routine will delete its frozen counterpart from the plugin.

Applies to