Partilhar via


AnchorManager.LoadAnchors Método

Definição

Sobrecargas

LoadAnchors()

Carregar as âncoras esponjosas do armazenamento persistente

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

LoadAnchors()

Carregar as âncoras esponjosas do armazenamento persistente

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

Retornos

Implementações

Comentários

O conjunto de âncoras esponjosas carregadas por essa rotina é definido pelas âncoras congeladas carregadas anteriormente no plug-in.

Da mesma forma, quando uma âncora esponjosa falha ao carregar, essa rotina excluirá seu equivalente congelado do plug-in.

Aplica-se a

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

Parâmetros

plugin
IPlugin
firstId
AnchorId
parent
UnityEngine.Transform

Retornos

Aplica-se a