Skip to main content

Fixed2DOptions

@zylem/game-lib


@zylem/game-lib / core / Fixed2DOptions

Interface: Fixed2DOptions

Defined in: packages/game-lib/src/lib/camera/perspectives/fixed-2d-perspective.ts:8

Configuration for the fixed 2D perspective.

Properties​

position?​

optional position?: Vec3Input

Defined in: packages/game-lib/src/lib/camera/perspectives/fixed-2d-perspective.ts:10

Fixed camera position. Default (0, 0, 10).


zoom?​

optional zoom?: number

Defined in: packages/game-lib/src/lib/camera/perspectives/fixed-2d-perspective.ts:12

Orthographic zoom (frustum size). Default 10.