Skip to content

syncCameraSettings

syncCameraSettings(settings): void

Defined in: packages/engine/src/gameplay/camera/camera.ts:279

Puts a camera’s settings on its orbit and its lens, where they differ, so an edit shows on the next frame. A changed stop clamps the eye at once rather than at the next drag.

Parameter Type
settings Pick<TraitRecord<typeof CameraTrait>, "orbit" | "rotateSpeed" | keyof CameraSettings>

void