Megosztás a következőn keresztül:


IAttachmentPointManager.MoveAttachmentPoint(IAttachmentPoint, Vector3) Method

Definition

Move (as opposed to Teleport) means that the object is meant to have traversed frozen space from its old position to the given new position on some continuous path.

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)

Parameters

attachPointIface
IAttachmentPoint
newFrozenPosition
UnityEngine.Vector3

The new position in frozen space

Remarks

Not to be used for automatic (i.e. FrozenWorld Engine instigated) moves. Use this for continuous movement through space. For discontinuous movement (i.e. teleportation), use TeleportAttachmentPoint(IAttachmentPoint, Vector3, IAttachmentPoint)

Applies to