Skip to content

VfxColorAnimatedWithRandomDriver

15.22

Class Documentation

Edit documentation

The color form of VfxFloatAnimatedWithRandomDriver. The driver samples the ValueColor curve in colors at the time that frequency selects, and returns red, green, blue and alpha as a Vector4. frequency, looping and the random ranges work as on that page.

If colors has no curve, the driver returns colors.constantValue.

Properties

ShareRandom

Bool = false
16.6
Edit documentation

If true, all four lanes read one random value. If false, each lane that has a random range reads its own random value.

colors

Embed<ValueColor> = { "constantValue": [1, 1, 1, 1], "dynamics": null }
Edit documentation

The color curve and its random ranges.

looping

Bool = false
15.23
Edit documentation

If true, a time past the end of the curve wraps back to the start of the curve.