Share via


AttachmentPoint.Set(FragmentId, Vector3, AnchorId, Vector3) Method

Definition

Set internals of attachment point to new values.

public void Set (Microsoft.MixedReality.WorldLocking.Core.FragmentId fragmentId, UnityEngine.Vector3 cachedPosition, Microsoft.MixedReality.WorldLocking.Core.AnchorId anchorId, UnityEngine.Vector3 locationFromAnchor);
member this.Set : Microsoft.MixedReality.WorldLocking.Core.FragmentId * UnityEngine.Vector3 * Microsoft.MixedReality.WorldLocking.Core.AnchorId * UnityEngine.Vector3 -> unit
Public Sub Set (fragmentId As FragmentId, cachedPosition As Vector3, anchorId As AnchorId, locationFromAnchor As Vector3)

Parameters

fragmentId
FragmentId

New fragment

cachedPosition
UnityEngine.Vector3

Cache last position moved to.

anchorId
AnchorId

New anchor id

locationFromAnchor
UnityEngine.Vector3

New displacement from anchor

Applies to