of

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

Creates new dust colour transition particle data with the given from source colour, scale, and to destination colour.

Return

new dust transition particle data

Parameters

from

the from colour

scale

the scale

to

the to colour