AnchorManagerNull.LoadAnchors 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從永續性記憶體載入 spongy 錨點
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
參數
- plugin
- IPlugin
- firstId
- AnchorId
- parent
- UnityEngine.Transform
- spongyAnchors
- List<AnchorManager.SpongyAnchorWithId>
傳回
備註
此例程所載入的 spongy 錨點集合是由先前載入外掛程式的凍結錨點所定義。
同樣地,當 spongy 錨點無法載入時,此例程會從外掛程式中刪除其凍結的對應專案。