Runtime motion matching player: builds a query feature from current pose + desired trajectory, searches MotionDatabase, cross-fades to best match. Script type: MotionMatcher.
更多...
#include <MotionMatcher.h>
Runtime motion matching player: builds a query feature from current pose + desired trajectory, searches MotionDatabase, cross-fades to best match. Script type: MotionMatcher.
在文件 MotionMatcher.h 第 17 行定义.
◆ MotionMatcher() [1/2]
◆ ~MotionMatcher()
| eve::animation::MotionMatcher::~MotionMatcher |
( |
| ) |
|
|
default |
◆ MotionMatcher() [2/2]
| eve::animation::MotionMatcher::MotionMatcher |
( |
const MotionMatcher & |
| ) |
|
|
delete |
◆ getBlendTime()
| float eve::animation::MotionMatcher::getBlendTime |
( |
| ) |
const |
|
inline |
◆ getDatabase()
◆ getDesiredVelocityX()
| float eve::animation::MotionMatcher::getDesiredVelocityX |
( |
| ) |
const |
|
inline |
◆ getDesiredVelocityZ()
| float eve::animation::MotionMatcher::getDesiredVelocityZ |
( |
| ) |
const |
|
inline |
◆ getDesiredYaw()
| float eve::animation::MotionMatcher::getDesiredYaw |
( |
| ) |
const |
|
inline |
◆ getIgnoreRadius()
| int eve::animation::MotionMatcher::getIgnoreRadius |
( |
| ) |
const |
|
inline |
◆ getLastSearchCost()
| float eve::animation::MotionMatcher::getLastSearchCost |
( |
| ) |
const |
|
inline |
◆ getMatchedClipIndex()
| int eve::animation::MotionMatcher::getMatchedClipIndex |
( |
| ) |
const |
◆ getMatchedFrame()
| int eve::animation::MotionMatcher::getMatchedFrame |
( |
| ) |
const |
|
inline |
◆ getMatchedTime()
| float eve::animation::MotionMatcher::getMatchedTime |
( |
| ) |
const |
|
inline |
◆ getPose()
| AnimPose * eve::animation::MotionMatcher::getPose |
( |
| ) |
|
◆ getPoseWeight()
| float eve::animation::MotionMatcher::getPoseWeight |
( |
| ) |
const |
|
inline |
◆ getSearchInterval()
| float eve::animation::MotionMatcher::getSearchInterval |
( |
| ) |
const |
|
inline |
◆ getSkeleton()
| AnimSkeleton * eve::animation::MotionMatcher::getSkeleton |
( |
| ) |
const |
|
inline |
◆ getTrajectoryWeight()
| float eve::animation::MotionMatcher::getTrajectoryWeight |
( |
| ) |
const |
|
inline |
◆ getVelocityWeight()
| float eve::animation::MotionMatcher::getVelocityWeight |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ search()
| void eve::animation::MotionMatcher::search |
( |
| ) |
|
◆ setBlendTime()
| void eve::animation::MotionMatcher::setBlendTime |
( |
float |
seconds | ) |
|
◆ setDesiredVelocity()
| void eve::animation::MotionMatcher::setDesiredVelocity |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
◆ setDesiredYaw()
| void eve::animation::MotionMatcher::setDesiredYaw |
( |
float |
yaw | ) |
|
◆ setIgnoreRadius()
| void eve::animation::MotionMatcher::setIgnoreRadius |
( |
int |
frames | ) |
|
Skip rematching the same frame / nearby frames to reduce jitter.
在文件 MotionMatcher.cpp 第 58 行定义.
◆ setPoseWeight()
| void eve::animation::MotionMatcher::setPoseWeight |
( |
float |
w | ) |
|
◆ setSearchInterval()
| void eve::animation::MotionMatcher::setSearchInterval |
( |
float |
seconds | ) |
|
◆ setTrajectoryWeight()
| void eve::animation::MotionMatcher::setTrajectoryWeight |
( |
float |
w | ) |
|
◆ setVelocityWeight()
| void eve::animation::MotionMatcher::setVelocityWeight |
( |
float |
w | ) |
|
◆ update()
| void eve::animation::MotionMatcher::update |
( |
float |
dt | ) |
|
该类的文档由以下文件生成: