constantValue
F32 = 0 The value when dynamics is not set. With a VfxAnimated* curve it multiplies the curve. With a VfxAnimated*VariableData curve it is not used.
An animated value: a constant plus an optional curve. Most numeric properties of VfxEmitterDefinitionData are this value or one of its vector and colour forms (ValueVector2, ValueVector3, ValueColor). This page describes how all four evaluate.
If dynamics is not set, the value is constantValue. If dynamics is set, the holder
samples the curve at a time t, and the curve type decides the result:
| Curve type | Result |
|---|---|
VfxAnimated*VariableData, for example VfxAnimatedFloatVariableData |
The curve value at t, multiplied per channel by its probability tables. constantValue is not used. |
VfxAnimated*, for example VfxAnimatedFloat |
The curve value at t multiplied by constantValue, per component. The probability tables are not read. |
Shipped data uses the VfxAnimated*VariableData curves for nearly every animated value.
A VfxAnimated* curve with constantValue at 0 evaluates to 0, so a value that uses
one needs constantValue set, usually to 1. A curve converted from one type to the
other gives a different result unless constantValue is 1.
The holder chooses t. The curves do not clamp, wrap or scale it. Values sampled over a
particle's life use the particle's age fraction, clamped to 0..1. Animated values on
VfxEmitterDefinitionData lists which clock each
emitter property uses. A driver that embeds the value, such as
VfxFloatAnimatedWithRandomDriver, samples it
at its own time source.
The random number that a probability table reads also comes from the holder, see VfxProbabilityTableData.
F32 = 0 The value when dynamics is not set. With a VfxAnimated* curve it multiplies the curve. With a VfxAnimated*VariableData curve it is not used.
Pointer<VfxAnimatedFloatVariableData> Pointer<VfxFloatBase> The curve. See Evaluation above for how its type changes the result.
Embed<ValueFloat> Embed<ValueFloat> radius Embed<ValueFloat> Embed<ValueFloat> erosionDriveCurve Embed<ValueFloat> Embed<ValueFloat> Embed<ValueFloat> birthFrameRate Embed<ValueFloat> birthUvRotateRate Embed<ValueFloat> particleLifetime Embed<ValueFloat> rate Embed<ValueFloat> uvRotation Embed<ValueFloat> Embed<ValueFloat> birthRotationalVelocity Embed<ValueFloat> birthScale Embed<ValueFloat> rotation Embed<ValueFloat> scale Embed<ValueFloat> Embed<ValueFloat> radius Embed<ValueFloat> Embed<ValueFloat> strength Embed<ValueFloat> Embed<ValueFloat> radius Embed<ValueFloat> velocityDelta Embed<ValueFloat> Embed<ValueFloat> Embed<ValueFloat> Embed<ValueFloat> Embed<ValueFloat> Embed<ValueFloat> particleLifetime Embed<ValueFloat> Embed<ValueFloat> Embed<ValueFloat> InitialFrameRate Embed<ValueFloat> uvRotation Embed<ValueFloat> Embed<ValueFloat> PaletteVAnimationCurve Embed<ValueFloat> List<ValueFloat> Embed<ValueFloat> birthUvRotateRateMult Embed<ValueFloat>