Skip to content

1681-engine / index / CameraLike

Interface: CameraLike ​

Defined in: src/fx/viewCull.ts:2

What inView reads off the main camera (Camera's own fields; a fake stage may lack them).

Properties ​

height? ​

ts
optional height?: number;

Defined in: src/fx/viewCull.ts:7


scrollX? ​

ts
optional scrollX?: number;

Defined in: src/fx/viewCull.ts:4


scrollY? ​

ts
optional scrollY?: number;

Defined in: src/fx/viewCull.ts:5


width? ​

ts
optional width?: number;

Defined in: src/fx/viewCull.ts:6


zoom ​

ts
zoom: number;

Defined in: src/fx/viewCull.ts:3

Released under the MIT License.