Freigeben über


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

Definition

Legen Sie interne Werte des Anlagepunkts auf neue Werte fest.

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)

Parameter

fragmentId
FragmentId

Neues Fragment

cachedPosition
UnityEngine.Vector3

Die letzte Cacheposition wurde an verschoben.

anchorId
AnchorId

Neue Anker-ID

locationFromAnchor
UnityEngine.Vector3

Neue Verschiebung aus Anker

Gilt für: