Skip to content

CameraState

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:47

A requested camera view — the SIGNAL a renderer binding subscribes to.

readonly angle: CameraAngle

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:48


readonly fit: CameraFit

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:50


readonly optional fov?: number

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:54

Field of view in radians for perspective projection (default ~50°).


readonly optional padding?: number

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:52

Fraction of extra room around the board for frame-board (default 0.15).


readonly projection: CameraProjection

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:49