Share via


IAlignmentManager.GetAlignmentPose(AnchorId, Pose) Method

Definition

Get the world locked space pose associated with this alignment anchor.

public bool GetAlignmentPose (Microsoft.MixedReality.WorldLocking.Core.AnchorId anchorId, out UnityEngine.Pose lockedPose);
abstract member GetAlignmentPose : Microsoft.MixedReality.WorldLocking.Core.AnchorId * Pose -> bool
Public Function GetAlignmentPose (anchorId As AnchorId, ByRef lockedPose As Pose) As Boolean

Parameters

anchorId
AnchorId

Which anchor.

lockedPose
UnityEngine.Pose

Pose to fill out if alignment anchor is found.

Returns

True if anchor is found and lockedPose filled in, else false and lockedPose set to identity.

Applies to