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)

适用于