main.cesium.ParticleBurst.kt Maven / Gradle / Ivy
The newest version!
// Automatically generated - do not modify!
@file:JsModule("cesium")
@file:Suppress(
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package cesium
/**
* Represents a burst of [Particle]s from a [ParticleSystem] at a given time in the systems lifetime.
* @see Online Documentation
*/
external class ParticleBurst {
/**
* The time in seconds after the beginning of the particle system's lifetime that the burst will occur.
* @see Online Documentation
*/
var time: Double
/**
* The minimum number of particles emitted.
* @see Online Documentation
*/
var minimum: Double
/**
* The maximum number of particles emitted.
* @see Online Documentation
*/
var maximum: Double
/**
* `true` if the burst has been completed; `false` otherwise.
* @see Online Documentation
*/
var complete: Boolean
}
inline fun ParticleBurst(
block: ParticleBurst.() -> Unit,
): ParticleBurst =
ParticleBurst().apply(block)