Parallax2D

A node used to create a parallax scrolling background.

Parallax2D.swift:20
class Parallax2D

A Parallax2D is used to create a parallax effect. It can move at a different speed relative to the camera movement using scrollScale. This creates an illusion of depth in a 2D game. If manual scrolling is desired, the Camera2D position can be ignored with ignoreCameraScroll.