共用方式為


IAttachmentPoint.TeleportTo 方法

定義

通知附件點,其已傳送至新位置。

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

新位置

備註

這應該用於不連續的移動,也就是遠端傳送。 針對連續動作,請使用 MoveTo(IAttachmentPointManager, Vector3)。 此值等同於 TeleportAttachmentPoint(IAttachmentPoint, Vector3, IAttachmentPoint)

適用於