Instance Method

remove(anchor:)

Removes the specified anchor from tracking by the session.

Declaration

func remove(anchor: ARAnchor)

Parameters

anchor

The anchor to remove.

Discussion

Changes to anchor tracking take effect when the next frame is captured.

See Also

Displaying and Interacting with AR Content

var currentFrame: ARFrame?

The video frame image, with associated AR scene information, most recently captured by the session.

func add(anchor: ARAnchor)

Adds the specified anchor to be tracked by the session.