Kiwano Engine v1.3.x
|
动画包装器 更多...
#include <AnimationWrapper.h>
Public 成员函数 | |
AnimationWrapper (RefPtr< Animation > ptr) | |
AnimationWrapper & | Loops (int loops) |
设置循环次数 | |
AnimationWrapper & | Delay (Duration delay) |
设置动画延迟 | |
AnimationWrapper & | Handler (RefPtr< AnimationEventHandler > handler) |
设置动画结束回调函数 | |
AnimationWrapper & | RemoveTargetWhenDone () |
动画结束时移除目标角色 | |
AnimationWrapper & | Name (StringView name) |
设置名称 | |
AnimationWrapper & | Ease (const EaseFunc &ease) |
设置缓动函数 | |
AnimationWrapper | Clone () const |
克隆动画 | |
AnimationWrapper | Reverse () const |
获取反向动画 | |
Animation * | Get () const |
获取指针 | |
void | SetEntity (RefPtr< Animation > ptr) |
设置动画 | |
Animation * | operator-> () const |
operator Animation * () const | |
operator RefPtr< Animation > () const | |
operator bool () const | |
Protected 属性 | |
RefPtr< Animation > | ptr |
动画包装器