The color value. Without dynamics it is constant; with dynamics the curve is sampled at t.
VfxColorAnimatedWithRandomMaterialDriver
Inheritance 1 ancestor · 6 siblings
Class Documentation
Edit documentationA 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
colorshas nodynamics, the driver returnsconstantValue. - When
colorshasdynamics, 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
constantValueto set a constant tint, such asLayerTint01.
Properties
frequency
U8 = 0 When the driver is evaluated: 0 once per emitter update, 1 once per particle. IVfxMaterialDriver describes both modes.