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

CameraUpdateContext

What a plugin’s camera hook receives on a drawn frame.

Property Type Description
camera Entity The mounted camera’s entity, which holds CameraTrait.
deltaSeconds number The frame’s seconds, scaled by the devtools speed.
orbit CameraControls The mounted camera’s live controls, which the hook moves.
writer ViewWriter The frame’s view writer, which writes the camera’s local traits.