CameraUpdateContext
What a plugin’s camera hook receives on a drawn frame.
Properties
Section titled “Properties”| 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. |