载入中...
搜索中...
未找到
eve::particles::ParticleGradient类 参考
Multi-stop color gradient sampled with linear interpolation between stops. Stops are kept sorted by t. Empty gradient means "use the legacy colorStart/colorEnd two-point lerp". 更多...
#include <ParticleCurve.h>
Public 成员函数 | |
| void | clear () |
| void | add (float t, float r, float g, float b, float a) |
| bool | empty () const |
| size_t | size () const |
| const ColorStop & | at (size_t i) const |
| void | sample (float t, float &r, float &g, float &b, float &a) const |
详细描述
Multi-stop color gradient sampled with linear interpolation between stops. Stops are kept sorted by t. Empty gradient means "use the legacy colorStart/colorEnd two-point lerp".
在文件 ParticleCurve.h 第 29 行定义.
成员函数说明
◆ add()
|
inline |
◆ at()
|
inline |
在文件 ParticleCurve.h 第 41 行定义.
◆ clear()
|
inline |
在文件 ParticleCurve.h 第 31 行定义.
◆ empty()
|
inline |
在文件 ParticleCurve.h 第 39 行定义.
◆ sample()
|
inline |
◆ size()
|
inline |
在文件 ParticleCurve.h 第 40 行定义.
该类的文档由以下文件生成:
- src/modules/particles/ParticleCurve.h