载入中...
搜索中...
未找到
MotionFeatureInternal.h 文件参考
#include <array>
#include <span>
#include "animation/AnimMath.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::animation
 
namespace  eve::animation::detail
 

函数

float eve::animation::detail::featureYaw (const TransformTRS &t)
 Feature yaw.
 
std::array< float, 3 > eve::animation::detail::featureLocal (float x, float y, float z, float yaw)
 
std::array< float, 3 > eve::animation::detail::featurePosition (const TransformTRS &bone, const TransformTRS &root)
 
void eve::animation::detail::encodeLocomotionPose (std::span< float > out, const std::array< TransformTRS, 4 > &now, const std::array< TransformTRS, 4 > &past, float interval)
 Encode locomotion pose.
 
template<class Sample >
void eve::animation::detail::encodeLocomotionTrajectory (std::span< float > out, const std::array< Sample, 5 > &samples, float yaw)
 Encode locomotion trajectory.
 
float eve::animation::detail::locomotionWeight (int index)
 Locomotion weight.
 

变量

constexpr int eve::animation::detail::locomotionPoseOffset = 19
 
constexpr int eve::animation::detail::locomotionFeatureCount = 30
 
constexpr std::array< float, 5 > eve::animation::detail::locomotionHorizons {-0.05f, 0.f, 0.35f, 0.7f, 1.f}