Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

Camera2DAim

Where a lens looks from and at: its focus on the plane, the focus’s height above it, and its turn.

Property Type Description
focus Vector2 Where the frame’s middle sits on the plane, in metres.
height number Metres above the plane the frame aims at, on the ground plane.
pitch number Degrees down from level, as pitch.
yawRadians number Radians about world up, as Camera2DOrbit.yawRadians.