Dela via


AnchorManager.LoadAnchors Method

Definition

Overloads

LoadAnchors()

Load the spongy anchors from persistent storage

LoadAnchors(IPlugin, AnchorId, Transform, List<AnchorManager.SpongyAnchorWithId>)

LoadAnchors()

Load the spongy anchors from persistent storage

public System.Threading.Tasks.Task LoadAnchors ();
abstract member LoadAnchors : unit -> System.Threading.Tasks.Task
override this.LoadAnchors : unit -> System.Threading.Tasks.Task
Public Function LoadAnchors () As Task

Returns

Implements

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

LoadAnchors(IPlugin, AnchorId, Transform, List<AnchorManager.SpongyAnchorWithId>)

protected virtual 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);
abstract member 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
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 Overridable 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

Applies to