main.cesium.DirectionalLight.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:Suppress(
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package cesium
/**
* A light that gets emitted in a single direction from infinitely far away.
* @see Online Documentation
*/
@JsName("\$cesium__DirectionalLight")
external class DirectionalLight(options: ConstructorOptions) : Light {
/**
* @property [direction] The direction in which light gets emitted.
* @property [color] The color of the light.
* Default value - [Color.WHITE]
* @property [intensity] The intensity of the light.
* Default value - `1.0`
*/
interface ConstructorOptions {
var direction: Cartesian3
var color: Color?
var intensity: Double?
}
/**
* The direction in which light gets emitted.
* @see Online Documentation
*/
var direction: Cartesian3
/**
* The color of the light.
* @see Online Documentation
*/
override var color: Color
/**
* The intensity of the light.
* @see Online Documentation
*/
override var intensity: Double
}