You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
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;