phaser - v4.0.0-rc.4
    Preparing search index...
    type CameraConfig = {
        backgroundColor?: false | string;
        bounds?: object | null;
        "bounds.height"?: number;
        "bounds.width"?: number;
        "bounds.x"?: number;
        "bounds.y"?: number;
        height?: number;
        name?: string;
        rotation?: number;
        roundPixels?: boolean;
        scrollX?: number;
        scrollY?: number;
        width?: number;
        x?: number;
        y?: number;
        zoom?: number;
    }
    Index

    Properties

    backgroundColor?: false | string

    A CSS color string controlling the Camera background color.

    bounds?: object | null

    Defines the Camera bounds.

    "bounds.height"?: number

    The height of the Camera bounds.

    "bounds.width"?: number

    The width of the Camera bounds.

    "bounds.x"?: number

    The top-left extent of the Camera bounds.

    "bounds.y"?: number

    The top-left extent of the Camera bounds.

    height?: number

    The height of the Camera viewport.

    name?: string

    The name of the Camera.

    rotation?: number

    The rotation of the Camera, in radians.

    roundPixels?: boolean

    Should the Camera round pixels before rendering?

    scrollX?: number

    The horizontal scroll position of the Camera.

    scrollY?: number

    The vertical scroll position of the Camera.

    width?: number

    The width of the Camera viewport.

    x?: number

    The horizontal position of the Camera viewport.

    y?: number

    The vertical position of the Camera viewport.

    zoom?: number

    The default zoom level of the Camera.