载入中...
搜索中...
未找到
eve::animation::AnimSyncGroup类 参考

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()

◆ clear()

void eve::animation::AnimSyncGroup::clear ( )
inline

Clears .

在文件 AnimSyncGroup.h 第 18 行定义.

◆ getCount()

int eve::animation::AnimSyncGroup::getCount ( ) const
inline

Returns the count.

在文件 AnimSyncGroup.h 第 20 行定义.

被这些函数引用 advance() , 以及 setLeader().

◆ getLeader()

int eve::animation::AnimSyncGroup::getLeader ( ) const
inline

Returns the leader.

在文件 AnimSyncGroup.h 第 24 行定义.

◆ getPhase()

float eve::animation::AnimSyncGroup::getPhase ( ) const
inline

Returns the phase.

在文件 AnimSyncGroup.h 第 30 行定义.

◆ getUsedMarkerSync()

bool eve::animation::AnimSyncGroup::getUsedMarkerSync ( ) const
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)

Sets the leader.

在文件 AnimSyncGroup.cpp 第 17 行定义.

引用了 getCount() , 以及 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.


该类的文档由以下文件生成: