Marker-aware synchronization group for locomotion animation players. 更多...
#include <AnimSyncGroup.h>
Public 成员函数 | |
| void | addPlayer (AnimPlayer *player, float phaseOffset=0.f) |
| Adds player. | |
| void | clear () |
| Clears . | |
| int | getCount () const |
| Returns the count. | |
| void | setLeader (int index) |
| Sets the leader. | |
| int | getLeader () const |
| Returns the leader. | |
| eve::Result< void > | advance (const eve::SimulationStep &step) |
| Advance and synchronize all players using one scheduler step. | |
| void | update (float dt) |
| Legacy seconds facade; explicitly forwards to advance(). | |
| float | getPhase () const |
| Returns the phase. | |
| bool | getUsedMarkerSync () const |
| Whether the latest update used compatible sync markers for at least one follower. | |
详细描述
Marker-aware synchronization group for locomotion animation players.
在文件 AnimSyncGroup.h 第 13 行定义.
成员函数说明
◆ addPlayer()
| void eve::animation::AnimSyncGroup::addPlayer | ( | AnimPlayer * | player, |
| float | phaseOffset = 0.f |
||
| ) |
Adds player.
在文件 AnimSyncGroup.cpp 第 12 行定义.
◆ advance()
| eve::Result< void > eve::animation::AnimSyncGroup::advance | ( | const eve::SimulationStep & | step | ) |
Advance and synchronize all players using one scheduler step.
在文件 AnimSyncGroup.cpp 第 22 行定义.
引用了 eve::animation::AnimPlayer::advance(), eve::Applied, clip, eve::Conflict, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::animation::AnimPlayer::getClip(), getCount(), eve::animation::AnimClip::getDuration(), eve::animation::AnimClip::hasCompatibleSyncMarkers(), eve::animation::AnimClip::mapSyncTimeTo(), eve::NoOp, eve::animation::detail::secondsForStep(), eve::animation::AnimPlayer::setTime(), step, eve::Status::success(), eve::Result< T >::success() , 以及 eve::animation::AnimClip::wrapTime().
被这些函数引用 update().
◆ clear()
|
inline |
Clears .
在文件 AnimSyncGroup.h 第 18 行定义.
◆ getCount()
|
inline |
◆ getLeader()
|
inline |
Returns the leader.
在文件 AnimSyncGroup.h 第 24 行定义.
◆ getPhase()
|
inline |
Returns the phase.
在文件 AnimSyncGroup.h 第 30 行定义.
◆ getUsedMarkerSync()
|
inline |
Whether the latest update used compatible sync markers for at least one follower.
在文件 AnimSyncGroup.h 第 32 行定义.
◆ setLeader()
| void eve::animation::AnimSyncGroup::setLeader | ( | int | index | ) |
◆ update()
| void eve::animation::AnimSyncGroup::update | ( | float | dt | ) |
Legacy seconds facade; explicitly forwards to advance().
在文件 AnimSyncGroup.cpp 第 69 行定义.
引用了 advance(), eve::Result< void >::ignore(), eve::animation::detail::legacyStep() , 以及 step.
该类的文档由以下文件生成:
- src/modules/animation/AnimSyncGroup.h
- src/modules/animation/AnimSyncGroup.cpp