共用方式為


IAttachmentPointManager.MoveAttachmentPoint(IAttachmentPoint, Vector3) 方法

定義

移動 (而非 Teleport) 表示物件是要將凍結空間從舊位置周遊到某些連續路徑上的指定新位置。

public void MoveAttachmentPoint (Microsoft.MixedReality.WorldLocking.Core.IAttachmentPoint attachPointIface, UnityEngine.Vector3 newFrozenPosition);
abstract member MoveAttachmentPoint : Microsoft.MixedReality.WorldLocking.Core.IAttachmentPoint * UnityEngine.Vector3 -> unit
Public Sub MoveAttachmentPoint (attachPointIface As IAttachmentPoint, newFrozenPosition As Vector3)

參數

attachPointIface
IAttachmentPoint
newFrozenPosition
UnityEngine.Vector3

凍結空間中的新位置

備註

不用於自動 (,亦即 FrozenWorld 引擎) 移動。 使用此選項可透過空間連續移動。 對於不連續的移動 (,也就是遠端傳送) ,請使用 TeleportAttachmentPoint(IAttachmentPoint, Vector3, IAttachmentPoint)

適用於