Partager via


AttachmentPoint.Set(FragmentId, Vector3, AnchorId, Vector3) Méthode

Définition

Définissez les valeurs internes du point de pièce jointe sur de nouvelles valeurs.

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)

Paramètres

fragmentId
FragmentId

Nouveau fragment

cachedPosition
UnityEngine.Vector3

Dernière position du cache déplacée vers.

anchorId
AnchorId

Nouvel ID d’ancre

locationFromAnchor
UnityEngine.Vector3

Nouveau déplacement de l’ancre

S’applique à