Companion

object Companion

Functions

Link copied to clipboard
@Contract(value = "_ -> new", pure = true)
fun builder(type: ParticleType): AmbientParticleSettings.Builder

Creates a new builder for ambient particle settings.

Link copied to clipboard
@Contract(value = "_, _, _ -> new", pure = true)
fun of(type: ParticleType, data: ParticleData?, probability: Float): AmbientParticleSettings

Creates new ambient particle settings with the given values.