Interface CameraOptions

Camera component configuration

const camera = new Camera({
layers: ["Default", "UI", "Background"],
zoom: 1.5,
depth: 0,
debug: true
});
interface CameraOptions {
    debug: boolean;
    depth: number;
    layers: string[];
    zoom: number;
}

Properties

Properties

debug: boolean
depth: number
layers: string[]
zoom: number