Vec3 fluent builder. 更多...
#include <MotionBuilder.h>
友元 | |
| class | MotionSequence |
详细描述
Vec3 fluent builder.
在文件 MotionBuilder.h 第 137 行定义.
构造及析构函数说明
◆ MotionVec3Builder()
| eve::animation::MotionVec3Builder::MotionVec3Builder | ( | MotionRuntime & | runtime, |
| MotionVec3 | from, | ||
| MotionVec3 | to, | ||
| float | duration | ||
| ) |
Constructs a MotionVec3Builder.
在文件 MotionBuilder.cpp 第 155 行定义.
引用了 duration, eve::animation::MotionRuntime::Vec3Desc::duration, eve::animation::MotionRuntime::Vec3Desc::from, from, eve::animation::MotionRuntime::Vec3Desc::to , 以及 to.
成员函数说明
◆ bind()
| eve::Result< MotionHandle > eve::animation::MotionVec3Builder::bind | ( | IMotionVec3Sink & | sink | ) |
Binds .
在文件 MotionBuilder.cpp 第 211 行定义.
引用了 eve::Result< T >::failure(), eve::animation::MotionRuntime::Vec3Desc::sink , 以及 eve::animation::MotionRuntime::spawnVec3().
◆ cancelOnError()
| MotionVec3Builder & eve::animation::MotionVec3Builder::cancelOnError | ( | bool | enabled | ) |
Cancel on error.
在文件 MotionBuilder.cpp 第 194 行定义.
引用了 eve::animation::MotionRuntime::Vec3Desc::cancelOnError , 以及 enabled.
◆ dampingRatio()
| MotionVec3Builder & eve::animation::MotionVec3Builder::dampingRatio | ( | float | ratio | ) |
Damping ratio for Punch/Shake (0 = none, 1 = full).
在文件 MotionBuilder.cpp 第 268 行定义.
◆ delay()
| MotionVec3Builder & eve::animation::MotionVec3Builder::delay | ( | float | seconds | ) |
◆ ease()
| MotionVec3Builder & eve::animation::MotionVec3Builder::ease | ( | std::string | kind | ) |
◆ frequency()
| MotionVec3Builder & eve::animation::MotionVec3Builder::frequency | ( | int | count | ) |
Oscillation count for Punch/Shake (default 10).
在文件 MotionBuilder.cpp 第 264 行定义.
引用了 count , 以及 eve::animation::MotionRuntime::Vec3Desc::frequency.
◆ loops()
| MotionVec3Builder & eve::animation::MotionVec3Builder::loops | ( | int | count, |
| MotionLoopMode | mode = MotionLoopMode::Restart |
||
| ) |
Loops.
在文件 MotionBuilder.cpp 第 173 行定义.
引用了 count, eve::animation::MotionRuntime::Vec3Desc::loopMode , 以及 eve::animation::MotionRuntime::Vec3Desc::loops.
◆ onCancel()
| MotionVec3Builder & eve::animation::MotionVec3Builder::onCancel | ( | MotionRuntime::VoidCallback | cb | ) |
◆ onComplete()
| MotionVec3Builder & eve::animation::MotionVec3Builder::onComplete | ( | MotionRuntime::VoidCallback | cb | ) |
On complete.
在文件 MotionBuilder.cpp 第 184 行定义.
◆ onUpdate()
| MotionVec3Builder & eve::animation::MotionVec3Builder::onUpdate | ( | MotionRuntime::Vec3Callback | cb | ) |
◆ run()
| eve::Result< MotionHandle > eve::animation::MotionVec3Builder::run | ( | ) |
◆ runtime() [1/2]
|
inlinenoexcept |
在文件 MotionBuilder.h 第 176 行定义.
◆ runtime() [2/2]
|
inlinenoexcept |
在文件 MotionBuilder.h 第 174 行定义.
◆ seed()
| MotionVec3Builder & eve::animation::MotionVec3Builder::seed | ( | std::uint32_t | value | ) |
Deterministic seed for Shake signs.
在文件 MotionBuilder.cpp 第 272 行定义.
引用了 eve::animation::MotionRuntime::Vec3Desc::seed , 以及 value.
◆ style()
| MotionVec3Builder & eve::animation::MotionVec3Builder::style | ( | MotionStyle | style | ) |
Select Tween / Punch / Shake evaluation.
在文件 MotionBuilder.cpp 第 260 行定义.
引用了 style() , 以及 eve::animation::MotionRuntime::Vec3Desc::style.
被这些函数引用 eve::animation::Animation::punchVec3(), eve::animation::Animation::shakeVec3() , 以及 style().
◆ takeDesc()
| eve::Result< MotionRuntime::Vec3Desc > eve::animation::MotionVec3Builder::takeDesc | ( | ) |
Take desc.
在文件 MotionBuilder.cpp 第 218 行定义.
引用了 eve::Result< T >::failure() , 以及 eve::Result< T >::success().
◆ to()
| MotionVec3Builder & eve::animation::MotionVec3Builder::to | ( | IMotionVec3Sink & | sink | ) |
友元及相关函数文档
◆ MotionSequence
|
friend |
在文件 MotionBuilder.h 第 181 行定义.
该类的文档由以下文件生成:
- src/modules/animation/MotionBuilder.h
- src/modules/animation/MotionBuilder.cpp