Udostępnij za pośrednictwem


IAttachmentPoint.MoveTo(IAttachmentPointManager, Vector3) Method

Definition

Notify attachment point that it has moved incrementally to a new position.

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

Parameters

manager
IAttachmentPointManager

The mananger

newFrozenPosition
UnityEngine.Vector3

The new position

Remarks

This should be used for conceptually continuous motion. For discontinuous motion (i.e. teleport), use TeleportTo(IAttachmentPointManager, Vector3, IAttachmentPoint). This is equivalent to MoveAttachmentPoint(IAttachmentPoint, Vector3)

Applies to