Sha256: c83f675b53d3febcff37dd70ba71733832652fb014d30a30f4f68fbd20250084

Contents?: true

Size: 1.43 KB

Versions: 3

Compression:

Stored size: 1.43 KB

Contents

/*global define*/
define(['Core/Enumeration'], function(Enumeration) {
    "use strict";

    /**
     * Enumerates the available input for interacting with the camera.
     *
     * @exports CameraEventType
     */
    var CameraEventType = {
        /**
         * A left mouse button press followed by moving the mouse and releasing the button.
         *
         * @type {Enumeration}
         * @constant
         * @default 0
         */
        LEFT_DRAG : new Enumeration(0, 'LEFT_DRAG'),

        /**
         *  A right mouse button press followed by moving the mouse and releasing the button.
         *
         * @type {Enumeration}
         * @constant
         * @default 1
         */
        RIGHT_DRAG : new Enumeration(1, 'RIGHT_DRAG'),

        /**
         *  A middle mouse button press followed by moving the mouse and releasing the button.
         *
         * @type {Enumeration}
         * @constant
         * @default 2
         */
        MIDDLE_DRAG : new Enumeration(2, 'MIDDLE_DRAG'),

        /**
         * Scrolling the middle mouse button.
         *
         * @type {Enumeration}
         * @constant
         * @default 3
         */
        WHEEL : new Enumeration(3, 'WHEEL'),

        /**
         * A two-finger touch on a touch surface.
         *
         * @type {Enumeration}
         * @constant
         * @default 4
         */
        PINCH : new Enumeration(4, 'PINCH')
    };

    return CameraEventType;
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cesium-0.25.0 app/assets/javascripts/Scene/CameraEventType.js
cesium-0.24.1 app/assets/javascripts/Scene/CameraEventType.js
cesium-0.24.0 app/assets/javascripts/Scene/CameraEventType.js