AnchorManagerNull.LoadAnchors 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.
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
- spongyAnchors
- List<AnchorManager.SpongyAnchorWithId>
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.