|
dl
|
变色 更多...
#include <dl_action_def.h>
继承自 dl::Action .
Public 类型 | |
| using | Func = std::function<void(ActionColor*)> |
Public 成员函数 | |
| ActionColor (FloatTime t, Func func) | |
| virtual void | Update () override |
| void | SetColor (const std::array< Color, 2 > &col) |
| 设置颜色插值 | |
| Color | GetColor () |
| 返回当前插值颜色 | |
Public 成员函数 继承自 dl::Action | |
| bool | IsFinish () |
| FloatTime | GetK () |
| 返回进度0-1 | |
额外继承的成员函数 | |
Protected 成员函数 继承自 dl::Action | |
| Action (FloatTime t) | |
| virtual | ~Action () |
变色
在文件 dl_action_def.h 第 67 行定义.
| using dl::ActionColor::Func = std::function<void(ActionColor*)> |
在文件 dl_action_def.h 第 70 行定义.
在文件 dl_action_def.h 第 71 行定义.
|
inline |
返回当前插值颜色
在文件 dl_action_def.h 第 86 行定义.
|
inline |
设置颜色插值
在文件 dl_action_def.h 第 81 行定义.
|
inlineoverridevirtual |
实现了 dl::Action.
在文件 dl_action_def.h 第 76 行定义.