cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
35 lines (30 loc) • 659 B
JavaScript
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;