UNPKG

cesium

Version:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

36 lines (31 loc) 813 B
import DeveloperError from '../Core/DeveloperError.js'; /** * A light source. This type describes an interface and is not intended to be instantiated directly. * * @alias Light * @constructor * * @see DirectionalLight * @see SunLight */ function Light() { } Object.defineProperties(Light.prototype, { /** * The color of the light. * @memberof Light.prototype * @type {Color} */ color : { get : DeveloperError.throwInstantiationError }, /** * The intensity of the light. * @memberof Light.prototype * @type {Number} */ intensity : { get : DeveloperError.throwInstantiationError } }); export default Light;