共用方式為


AnchorManager.DestroyAnchor(AnchorId, SpongyAnchor) 方法

定義

平臺相依的本機錨點處置。

protected abstract Microsoft.MixedReality.WorldLocking.Core.SpongyAnchor DestroyAnchor (Microsoft.MixedReality.WorldLocking.Core.AnchorId id, Microsoft.MixedReality.WorldLocking.Core.SpongyAnchor spongyAnchor);
abstract member DestroyAnchor : Microsoft.MixedReality.WorldLocking.Core.AnchorId * Microsoft.MixedReality.WorldLocking.Core.SpongyAnchor -> Microsoft.MixedReality.WorldLocking.Core.SpongyAnchor
Protected MustOverride Function DestroyAnchor (id As AnchorId, spongyAnchor As SpongyAnchor) As SpongyAnchor

參數

id
AnchorId

要終結之錨點的標識碼。

spongyAnchor
SpongyAnchor

要終結之錨點的參考。

傳回

Null

備註

標識碼是用來從任何預存清單中刪除。 如果 SpongyAnchor 尚未新增至任何清單, (仍在初始化) ,則 id 可以是 AnchorId.Invalid。

適用於