Skip to content

VfxColorAnimatedWithRandomMaterialDriver

15.14

Class Documentation

Edit documentation

A particle material driver that returns an animated color value sampled at t. It is the ValueColor form of VfxColorOverLifeMaterialDriver: the value is a constantValue plus optional dynamics, the same embed that VfxEmitterDefinitionData uses for its animated values.

  • When colors has no dynamics, the driver returns constantValue.
  • When colors has dynamics, the driver samples the curve at t.

VfxColorAnimatedWithRandomDriver is the same value as a driver of the VFX driver graph.

Examples:
  • Shipped companion particles use it with a bare constantValue to set a constant tint, such as LayerTint01.

Properties

colors

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

The color value. Without dynamics it is constant; with dynamics the curve is sampled at t.