particle

@Contract(value = "_, _ -> this", mutates = "this")
open fun particle(type: ParticleType, data: ParticleData?): AmbientParticleSettings.Builder

Sets the particle type and data for the ambient particle settings to the given type and data.

Return

this builder

Parameters

type

the type

data

the data

See also