CameraState
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:47
A requested camera view — the SIGNAL a renderer binding subscribes to.
Properties
Section titled “Properties”
readonlyangle:CameraAngle
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:48
readonlyfit:CameraFit
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:50
readonlyoptionalfov?:number
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:54
Field of view in radians for perspective projection (default ~50°).
padding?
Section titled “padding?”
readonlyoptionalpadding?: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).
projection
Section titled “projection”
readonlyprojection:CameraProjection
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:49