Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseScript interface for a Min-Max Gradient.
See Also: ParticleSystem.
color | Set a constant color. |
colorMax | Set a constant color for the upper bound. |
colorMin | Set a constant color for the lower bound. |
gradient | Set the gradient. |
gradientMax | Set a gradient for the upper bound. |
gradientMin | Set a gradient for the lower bound. |
mode | Set the mode that the min-max gradient will use to evaluate colors. |
ParticleSystem.MinMaxGradient | A single constant color for the entire gradient. |
Evaluate | Manually query the gradient to calculate colors based on what mode it is in. |