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

measureCamera2DYawRange

measureCamera2DYawRange(camera2DYawRangeOptions): Camera2DYawRange

The widest turn either way from the orbit’s rest yaw, within its limit, that shows no side of bounds further than the rest view shows it: nothing past a rectangle the rest view fits, and no more of the cut on a map smaller than the frame. Each corner of the frame sweeps a circle about the focus as the view turns, and crosses a side at two yaws a cosine gives exactly; the range ends at the first crossing outward each way. A corner past the horizon narrows nothing.

Parameter Type
camera2DYawRangeOptions Camera2DYawRangeOptions

Camera2DYawRange