Class

SKCameraNode

A node that determines which parts of the scene are visible within a view.

Declaration

@interface SKCameraNode : SKNode

Overview

If you don't use a camera in your scene, you control the visible portion of a scene using its anchorPoint property.

Topics

First Steps

Getting Started with a Camera

Learn the semantics of using a camera in your scene.

Node Visibility

Check whether a particular node is onscreen.

- containedNodeSet

Finds nodes that are visible in the camera's viewport.

- containsNode:

Checks to see if a node is visible in the camera’s viewport.

Relationships

Inherits From

See Also

Base Nodes

Using Base Nodes to Lay Out SpriteKit Content

Use nonvisual nodes to define the layout of a scene.

SKNode

The base class of all SpriteKit nodes.

SKReferenceNode

A node that's defined in an archived .sks file.