main.cesium.CompositeMaterialProperty.kt Maven / Gradle / Ivy
The newest version!
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* A [CompositeProperty] which is also a [MaterialProperty].
* @see Online Documentation
*/
external class CompositeMaterialProperty : MaterialProperty {
/**
* Gets a value indicating if this property is constant. A property is considered
* constant if getValue always returns the same result for the current definition.
* @see Online Documentation
*/
override val isConstant: Boolean
/**
* Gets the event that is raised whenever the definition of this property changes.
* The definition is changed whenever setValue is called with data different
* than the current value.
* @see Online Documentation
*/
override val definitionChanged: Event
/**
* Gets the interval collection.
* @see Online Documentation
*/
var intervals: TimeIntervalCollection
/**
* Gets the [Material] type at the provided time.
* @param [time] The time for which to retrieve the type.
* @return The type of material.
* @see Online Documentation
*/
override fun getType(time: JulianDate): String
/**
* Gets the value of the property at the provided time.
* @param [time] The time for which to retrieve the value.
* @param [result] The object to store the value into, if omitted, a new instance is created and returned.
* @return The modified result parameter or a new instance if the result parameter was not supplied.
* @see Online Documentation
*/
override fun getValue(
time: JulianDate,
result: Any?,
): Any
}