CameraFraming
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:65
A computed camera framing — renderer-neutral. A binding applies it to its camera.
Properties
Section titled “Properties”distance
Section titled “distance”
readonlydistance:number
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:80
Distance from eye to target.
readonlyfov:number
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:78
Field of view in radians (perspective).
orthoHalfHeight
Section titled “orthoHalfHeight”
readonlyorthoHalfHeight:number
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:76
Half-height of the orthographic view volume (world units). The binding derives the ortho box from this + the viewport aspect. Present for both projections so a binding can frame consistently; ignored by a pure-perspective camera.
position
Section titled “position”
readonlyposition:WorldPosition
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:67
Eye position in world space.
projection
Section titled “projection”
readonlyprojection:CameraProjection
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:70
target
Section titled “target”
readonlytarget:WorldPosition
Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:69
Look-at target (board center).