PointLight2D

Positional 2D light source.

PointLight2D.swift:17
class PointLight2D

Casts light in a 2D environment. This light’s shape is defined by a (usually grayscale) texture.