of

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

Creates new ambient particle settings with the given values.

Return

new ambient particle settings

Parameters

type

the type of particle

data

the data of the particle

probability

the probability