Sha256: 540bfcf550ad82843617ccad2632830c103e7ad158b85984a88f43ba6a632d0f

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

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

    function throwInstantiationError() {
        throw new DeveloperError('This type should not be instantiated directly.');
    }

    /**
     * The interface for all properties, which represent a value that can
     * optionally vary over time.
     * This type defines an interface and cannot be instantiated directly.
     *
     * @alias Property
     * @constructor
     *
     * @see CompositeProperty
     * @see ConstantProperty
     * @see SampledProperty
     * @see TimeIntervalCollectionProperty
     * @see MaterialProperty
     * @see PositionProperty
     * @see RefereenceProperty
     */
    var Property = throwInstantiationError;

    /**
     * Gets the value of the property at the provided time.
     * @memberof Property
     * @function
     *
     * @param {JulianDate} time The time for which to retrieve the value.
     * @param {Object} [result] The object to store the value into, if omitted, a new instance is created and returned.
     * @returns {Object} The modified result parameter or a new instance if the result parameter was not supplied.
     *
     * @exception {DeveloperError} time is required.
     */
    Property.prototype.getValue = throwInstantiationError;

    return Property;
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cesium-0.21.1 app/assets/javascripts/DynamicScene/Property.js
cesium-0.21 app/assets/javascripts/DynamicScene/Property.js
cesium-0.20.0 app/assets/javascripts/DynamicScene/Property.js