Contents

ARSKView

A view that blends virtual 2D content from SpriteKit into the 3D space of an augmented reality experience.

Declaration

class ARSKView

Mentioned in

Overview

Use the ARSKView class to create augmented reality experiences that position 2D elements in 3D space within a device camera view of the real world. When you run the view’s provided ARSession object:

  • The view automatically renders the live video feed from the device camera as the scene background.

  • When you implement ARSKViewDelegate methods to associate SpriteKit content with real-world positions, the view automatically scales and rotates those SpriteKit nodes so that they appear to track the real world seen by the camera.

Topics

First Steps

Responding to AR Updates

Finding Real-World Surfaces

Mapping Content to Real-World Positions

See Also

Views