IAttachmentPoint.TeleportTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
通知附件點,其已傳送至新位置。
public void TeleportTo (Microsoft.MixedReality.WorldLocking.Core.IAttachmentPointManager manager, UnityEngine.Vector3 newFrozenPosition, Microsoft.MixedReality.WorldLocking.Core.IAttachmentPoint context);
abstract member TeleportTo : Microsoft.MixedReality.WorldLocking.Core.IAttachmentPointManager * UnityEngine.Vector3 * Microsoft.MixedReality.WorldLocking.Core.IAttachmentPoint -> unit
Public Sub TeleportTo (manager As IAttachmentPointManager, newFrozenPosition As Vector3, context As IAttachmentPoint)
參數
- manager
- IAttachmentPointManager
經理
- newFrozenPosition
- UnityEngine.Vector3
新位置
- context
- IAttachmentPoint
要傳送到其中的內容。 可以是 null。 CreateAttachmentPoint(Vector3, IAttachmentPoint, AdjustLocationDelegate, AdjustStateDelegate)
備註
這應該用於不連續的移動,也就是遠端傳送。 針對連續動作,請使用 MoveTo(IAttachmentPointManager, Vector3)。 此值等同於 TeleportAttachmentPoint(IAttachmentPoint, Vector3, IAttachmentPoint)