ColorGradient
اعلان
public class Strawberry.Graphics.ParticleSystem.ColorGradient
کمکی برای گرادیانهای رنگی که برای درونیابی رنگ ذره در طول زمان استفاده میشود.
ویژگیها
KeyframeCount
int KeyframeCount { get }
متدها
AddKeyframe
void AddKeyframe(float time, Color color)
پارامترها:
| نام | نوع | توضیحات |
|---|---|---|
time |
System.Single |
|
color |
Strawberry.Graphics.Color |
Clear
void Clear()
Evaluate
Color Evaluate(float t)
پارامترها:
| نام | نوع | توضیحات |
|---|---|---|
t |
System.Single |