of

@Contract(value = "_, _ -> new", pure = true)
fun of(color: Color, scale: Float): DustParticleData

Creates new dust particle data with the given color and scale.

Return

new dust particle data

Parameters

color

the colour

scale

the scale