time | Normalized time (in the range 0 - 1, where 1 represents 100%) at which to evaluate the gradient. This is valid when ParticleSystem.MinMaxGradient.mode is set to ParticleSystemGradientMode.Gradient or ParticleSystemGradientMode.TwoGradients. |
lerpFactor | Blend between the two gradients/colors (Valid when ParticleSystem.MinMaxGradient.mode is set to ParticleSystemGradientMode.TwoColors or ParticleSystemGradientMode.TwoGradients). |
Color Calculated gradient/color value.
Manually query the gradient to calculate colors based on what mode it is in.
This automatically clamps the time and lerpFactor properties between 0 and 1.
Did you find this page useful? Please give it a rating: