frameBoard
frameBoard(
tiles,state?):CameraFraming
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:184
One-shot framing straight from a board’s tiles + a view state — the common path for
a binding’s useCamera. Equivalent to computeCameraFraming(computeBoardBounds(tiles), state).
Parameters
Section titled “Parameters”readonly GameboardTileSpec[]
state?
Section titled “state?”CameraState = DEFAULT_CAMERA_STATE