Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.XRSubsystems ←XRVps2AnchorSubsystem

TryCreateAnchor

Create a new anchor located at pose in the device's AR tracking space.

Declaration​

public bool TryCreateAnchor(Pose pose, out XRVps2Anchor anchor)

Summary​

Create a new anchor located at pose in the device's AR tracking space.

Returns​

True if the anchor was created.

Parameters​

NameTypeSummary
posePose
The pose, in AR session space, of the anchor.
anchorXRVps2Anchor
The created anchor.