Compartir a través de


IAttachmentPoint.TeleportTo Método

Definición

Notificar al punto de datos adjuntos que se ha teletransportado a una nueva posición.

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)

Parámetros

manager
IAttachmentPointManager

El administrador

newFrozenPosition
UnityEngine.Vector3

Nueva posición

Comentarios

Se debe usar para el movimiento discontinuo, es decir, teletransporte. Para el movimiento continuo, use MoveTo(IAttachmentPointManager, Vector3). Esto equivale a TeleportAttachmentPoint(IAttachmentPoint, Vector3, IAttachmentPoint).

Se aplica a