TryCreateAnchor
Declaration
public bool TryCreateAnchor(Pose localPose, out ARVps2Anchor anchorOut)
Summary
Remarks
Anchors mark a place in the world that content should stay attached to. VPS2 must
localize to a map before anchors can be created for it — use
TryLocalize or its lat/long overload — and an anchor only
tracks with the asset of the site that was active when it was created.
Returns
true if the anchor was created; otherwise false.
Parameters
| Name | Type | Summary |
|---|---|---|
| localPose | Pose | The pose, in AR session space, of the anchor. |
| anchorOut | out ARVps2Anchor | The created anchor. |
Attempts to create a new anchor at localPose, in AR session
space. Forwards to TryCreateAnchor.