phaser - v4.0.0-rc.4
    Preparing search index...
    type FixedKeyControlConfig = {
        camera?: Cameras.Scene2D.Camera;
        down?: Key;
        left?: Key;
        maxZoom?: number;
        minZoom?: number;
        right?: Key;
        speed?: number | Object;
        up?: Key;
        zoomIn?: Key;
        zoomOut?: Key;
        zoomSpeed?: number;
    }
    Index

    Properties

    The Camera that this Control will update.

    down?: Key

    The Key to be pressed that will move the Camera down.

    left?: Key

    The Key to be pressed that will move the Camera left.

    maxZoom?: number

    The largest zoom value the camera will reach when zoomed in.

    minZoom?: number

    The smallest zoom value the camera will reach when zoomed out.

    right?: Key

    The Key to be pressed that will move the Camera right.

    speed?: number | Object

    The horizontal and vertical speed the camera will move.

    up?: Key

    The Key to be pressed that will move the Camera up.

    zoomIn?: Key

    The Key to be pressed that will zoom the Camera in.

    zoomOut?: Key

    The Key to be pressed that will zoom the Camera out.

    zoomSpeed?: number

    The speed at which the camera will zoom if the zoomIn or zoomOut keys are pressed.