IAlignmentManager Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manage pinning the world-locked space to user defined coordinate frame at a discrete set of points in the world.
public interface IAlignmentManager
type IAlignmentManager = interface
Public Interface IAlignmentManager
- Derived
Properties
PinnedFromLocked |
The pose to insert into the camera's hierarchy above the WorldLocking Adjustment transform (if any). |
Methods
AddAlignmentAnchor(String, Pose, Pose) |
Add an anchor for aligning a virtual pose to a pose in real space. |
ClearAlignmentAnchors() |
Remove all alignment anchors that have been added. More efficient than removing them individually, and doesn't require having stored their ids on creation. |
ComputePinnedPose(Pose) |
Update based on new head position. |
GetAlignmentPose(AnchorId, Pose) |
Get the world locked space pose associated with this alignment anchor. |
Load() |
Load all persisted state required for reconstructing the current pinning. |
RegisterForLoad(PostAlignmentLoadedDelegate) |
Register for notification that pin data has finished loaded and is available. |
RemoveAlignmentAnchor(AnchorId) |
Remove the given alignment anchor from the system. |
RestoreAlignmentAnchor(String, Pose) |
Attempt to restore an alignment anchor from an earlier session. Stored alignment anchor must match in both uniqueName and virtual pose. |
Save() |
Save state needed to reconstruct later from persistent storage. |
SendAlignmentAnchors() |
Submit all accumulated alignment anchors. |
UnregisterForLoad(PostAlignmentLoadedDelegate) |
Unregister for notification that pin data has finished loaded and is available. |
Events
OnTriangulationBuilt |
New triangulation was built based upon recent poses. |