#include <MotionRuntime.h>
Public 属性 | |
| MotionVec3 | from {} |
| MotionVec3 | to {} |
| float | duration = 0.f |
| float | delay = 0.f |
| int | loops = 1 |
| MotionLoopMode | loopMode = MotionLoopMode::Restart |
| std::string | ease = "linear" |
| IMotionVec3Sink * | sink = nullptr |
| Vec3Callback | 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 第 77 行定义.
类成员变量说明
◆ cancelOnError
| bool eve::animation::MotionRuntime::Vec3Desc::cancelOnError = true |
在文件 MotionRuntime.h 第 89 行定义.
◆ dampingRatio
| float eve::animation::MotionRuntime::Vec3Desc::dampingRatio = 1.f |
0 = undamped, 1 = fully damped.
在文件 MotionRuntime.h 第 92 行定义.
◆ delay
| float eve::animation::MotionRuntime::Vec3Desc::delay = 0.f |
在文件 MotionRuntime.h 第 81 行定义.
◆ duration
| float eve::animation::MotionRuntime::Vec3Desc::duration = 0.f |
在文件 MotionRuntime.h 第 80 行定义.
被这些函数引用 eve::animation::MotionVec3Builder::MotionVec3Builder().
◆ ease
| std::string eve::animation::MotionRuntime::Vec3Desc::ease = "linear" |
在文件 MotionRuntime.h 第 84 行定义.
◆ frequency
| int eve::animation::MotionRuntime::Vec3Desc::frequency = 10 |
Oscillation count for Punch/Shake.
在文件 MotionRuntime.h 第 91 行定义.
◆ from
| MotionVec3 eve::animation::MotionRuntime::Vec3Desc::from {} |
在文件 MotionRuntime.h 第 78 行定义.
被这些函数引用 eve::animation::MotionVec3Builder::MotionVec3Builder().
◆ loopMode
| MotionLoopMode eve::animation::MotionRuntime::Vec3Desc::loopMode = MotionLoopMode::Restart |
在文件 MotionRuntime.h 第 83 行定义.
◆ loops
| int eve::animation::MotionRuntime::Vec3Desc::loops = 1 |
在文件 MotionRuntime.h 第 82 行定义.
◆ onCancel
| VoidCallback eve::animation::MotionRuntime::Vec3Desc::onCancel |
在文件 MotionRuntime.h 第 88 行定义.
◆ onComplete
| VoidCallback eve::animation::MotionRuntime::Vec3Desc::onComplete |
在文件 MotionRuntime.h 第 87 行定义.
◆ onUpdate
| Vec3Callback eve::animation::MotionRuntime::Vec3Desc::onUpdate |
在文件 MotionRuntime.h 第 86 行定义.
◆ seed
| std::uint32_t eve::animation::MotionRuntime::Vec3Desc::seed = 0 |
Deterministic Shake seed.
在文件 MotionRuntime.h 第 93 行定义.
◆ sink
| IMotionVec3Sink* eve::animation::MotionRuntime::Vec3Desc::sink = nullptr |
◆ style
| MotionStyle eve::animation::MotionRuntime::Vec3Desc::style = MotionStyle::Tween |
在文件 MotionRuntime.h 第 90 行定义.
◆ to
| MotionVec3 eve::animation::MotionRuntime::Vec3Desc::to {} |
在文件 MotionRuntime.h 第 79 行定义.
被这些函数引用 eve::animation::MotionVec3Builder::MotionVec3Builder().
该结构体的文档由以下文件生成:
- src/modules/animation/MotionRuntime.h