Contents

anchorPoint

The point in the view’s frame that corresponds to the scene’s origin.

Declaration

var anchorPoint: CGPoint { get set }

Mentioned in

Discussion

When a scene is presented and a camera node has not been specified, the size and anchorPoint properties determine which part of the scene’s coordinate space is visible in the view.

You specify the value using the unit coordinate space. The default value is (0,0), which corresponds to the lower-left corner of the view’s frame rectangle.

See Also

Configuring the Viewport