#include <MotionRuntime.h>
Public 属性 | |
| MotionVec2 | from {} |
| MotionVec2 | to {} |
| float | duration = 0.f |
| float | delay = 0.f |
| int | loops = 1 |
| MotionLoopMode | loopMode = MotionLoopMode::Restart |
| std::string | ease = "linear" |
| IMotionVec2Sink * | sink = nullptr |
| Vec2Callback | onUpdate |
| VoidCallback | onComplete |
| VoidCallback | onCancel |
| bool | cancelOnError = true |
| MotionStyle | style = MotionStyle::Tween |
| int | frequency = 10 |
| Oscillation count for Punch/Shake. | |
| float | dampingRatio = 1.f |
| 0 = undamped, 1 = fully damped. | |
| std::uint32_t | seed = 0 |
| Deterministic Shake seed. | |
详细描述
在文件 MotionRuntime.h 第 57 行定义.
类成员变量说明
◆ cancelOnError
| bool eve::animation::MotionRuntime::Vec2Desc::cancelOnError = true |
在文件 MotionRuntime.h 第 69 行定义.
◆ dampingRatio
| float eve::animation::MotionRuntime::Vec2Desc::dampingRatio = 1.f |
0 = undamped, 1 = fully damped.
在文件 MotionRuntime.h 第 72 行定义.
◆ delay
| float eve::animation::MotionRuntime::Vec2Desc::delay = 0.f |
在文件 MotionRuntime.h 第 61 行定义.
◆ duration
| float eve::animation::MotionRuntime::Vec2Desc::duration = 0.f |
在文件 MotionRuntime.h 第 60 行定义.
被这些函数引用 eve::animation::MotionVec2Builder::MotionVec2Builder().
◆ ease
| std::string eve::animation::MotionRuntime::Vec2Desc::ease = "linear" |
在文件 MotionRuntime.h 第 64 行定义.
◆ frequency
| int eve::animation::MotionRuntime::Vec2Desc::frequency = 10 |
Oscillation count for Punch/Shake.
在文件 MotionRuntime.h 第 71 行定义.
◆ from
| MotionVec2 eve::animation::MotionRuntime::Vec2Desc::from {} |
在文件 MotionRuntime.h 第 58 行定义.
被这些函数引用 eve::animation::MotionVec2Builder::MotionVec2Builder().
◆ loopMode
| MotionLoopMode eve::animation::MotionRuntime::Vec2Desc::loopMode = MotionLoopMode::Restart |
在文件 MotionRuntime.h 第 63 行定义.
◆ loops
| int eve::animation::MotionRuntime::Vec2Desc::loops = 1 |
在文件 MotionRuntime.h 第 62 行定义.
◆ onCancel
| VoidCallback eve::animation::MotionRuntime::Vec2Desc::onCancel |
在文件 MotionRuntime.h 第 68 行定义.
◆ onComplete
| VoidCallback eve::animation::MotionRuntime::Vec2Desc::onComplete |
在文件 MotionRuntime.h 第 67 行定义.
◆ onUpdate
| Vec2Callback eve::animation::MotionRuntime::Vec2Desc::onUpdate |
在文件 MotionRuntime.h 第 66 行定义.
◆ seed
| std::uint32_t eve::animation::MotionRuntime::Vec2Desc::seed = 0 |
Deterministic Shake seed.
在文件 MotionRuntime.h 第 73 行定义.
◆ sink
| IMotionVec2Sink* eve::animation::MotionRuntime::Vec2Desc::sink = nullptr |
◆ style
| MotionStyle eve::animation::MotionRuntime::Vec2Desc::style = MotionStyle::Tween |
在文件 MotionRuntime.h 第 70 行定义.
◆ to
| MotionVec2 eve::animation::MotionRuntime::Vec2Desc::to {} |
在文件 MotionRuntime.h 第 59 行定义.
被这些函数引用 eve::animation::MotionVec2Builder::MotionVec2Builder().
该结构体的文档由以下文件生成:
- src/modules/animation/MotionRuntime.h