Skip to content

VfxColorAnimatedWithRandomByFactorDriver

16.19

Class Documentation

Edit documentation

The color form of VfxFloatAnimatedWithRandomByFactorDriver. The driver samples the ValueColor curve in colors at the value of the float driver Factor instead of at a time, and returns red, green, blue and alpha as a Vector4.

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

Properties

ShareRandom

Bool = false
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.