Sha256: 766f547c3f56e8a0dd781d1eba1ad81b0b4ad6c1bd1f4f892275af6b926a8b55

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

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

    /**
     * Constants to determine how much time advances with each call
     * to {@link Clock#tick}.
     *
     * @exports ClockStep
     *
     * @see Clock
     * @see ClockRange
     */
    var ClockStep = {
        /**
         * {@link Clock#tick} advances the current time by a fixed step,
         * which is the number of seconds specified by {@link Clock#multiplier}.
         */
        TICK_DEPENDENT : new Enumeration(0, 'TICK_DEPENDENT'),

        /**
         * {@link Clock#tick} advances the current time by the amount of system
         * time elapsed since the previous call multiplied by {@link Clock#multiplier}.
         */
        SYSTEM_CLOCK_MULTIPLIER : new Enumeration(1, 'SYSTEM_CLOCK_MULTIPLIER'),

        /**
         * {@link Clock#tick} sets the clock to the current system time;
         * ignoring all other settings.
         */
        SYSTEM_CLOCK : new Enumeration(2, 'SYSTEM_CLOCK')
    };

    return ClockStep;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cesium-0.17.0 app/assets/javascripts/Core/ClockStep.js
cesium-0.16.0 app/assets/javascripts/Core/ClockStep.js
cesium-0.15.0 app/assets/javascripts/Core/ClockStep.js
cesium-0.14.0 app/assets/javascripts/Core/ClockStep.js