probability

@Contract(value = "_ -> this", mutates = "this")
abstract fun probability(probability: Float): AmbientParticleSettings.Builder

Sets the probability for the ambient particle settings to the given probability.

Return

this builder

Parameters

probability

the probability

See also