载入中...
搜索中...
未找到
eve::animation::detail::PoseInertia结构体 参考

PoseInertia public API. 更多...

#include <PoseInertiaInternal.h>

Public 类型

using Channels = std::array< float, 9 >
 

Public 成员函数

void begin (const AnimPose &source, const AnimPose &target, const AnimPose &previousTarget, float seconds)
 Begins .
 
void remember (const AnimPose &output, float dt)
 Remember.
 
void apply (const AnimPose &target, float elapsed, AnimPose &output, std::span< const float > factors={}) const
 Applies .
 

静态 Public 成员函数

static Channels difference (const TransformTRS &source, const TransformTRS &target)
 Difference.
 

Public 属性

std::vector< Channels > offsets
 
std::vector< Channels > velocities
 
AnimPose previousOutput
 
float historyInterval = 0.f
 
float duration = 0.f
 

详细描述

PoseInertia public API.

在文件 PoseInertiaInternal.h 第 13 行定义.

成员类型定义说明

◆ Channels

using eve::animation::detail::PoseInertia::Channels = std::array<float, 9>

在文件 PoseInertiaInternal.h 第 14 行定义.

成员函数说明

◆ apply()

void eve::animation::detail::PoseInertia::apply ( const AnimPose &  target,
float  elapsed,
AnimPose &  output,
std::span< const float >  factors = {} 
) const
inline

Applies .

在文件 PoseInertiaInternal.h 第 76 行定义.

◆ begin()

void eve::animation::detail::PoseInertia::begin ( const AnimPose &  source,
const AnimPose &  target,
const AnimPose &  previousTarget,
float  seconds 
)
inline

◆ difference()

static Channels eve::animation::detail::PoseInertia::difference ( const TransformTRS &  source,
const TransformTRS &  target 
)
inlinestatic

Difference.

在文件 PoseInertiaInternal.h 第 21 行定义.

引用了 a, b, length, source, target, w, x, y , 以及 z.

被这些函数引用 begin().

◆ remember()

void eve::animation::detail::PoseInertia::remember ( const AnimPose &  output,
float  dt 
)
inline

Remember.

在文件 PoseInertiaInternal.h 第 69 行定义.

引用了 eve::animation::AnimPose::copyFrom(), historyInterval, output , 以及 previousOutput.

类成员变量说明

◆ duration

float eve::animation::detail::PoseInertia::duration = 0.f

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

被这些函数引用 begin().

◆ historyInterval

float eve::animation::detail::PoseInertia::historyInterval = 0.f

在文件 PoseInertiaInternal.h 第 17 行定义.

被这些函数引用 begin() , 以及 remember().

◆ offsets

std::vector<Channels> eve::animation::detail::PoseInertia::offsets

在文件 PoseInertiaInternal.h 第 15 行定义.

被这些函数引用 begin().

◆ previousOutput

AnimPose eve::animation::detail::PoseInertia::previousOutput

在文件 PoseInertiaInternal.h 第 16 行定义.

被这些函数引用 begin() , 以及 remember().

◆ velocities

std::vector<Channels> eve::animation::detail::PoseInertia::velocities

在文件 PoseInertiaInternal.h 第 15 行定义.

被这些函数引用 begin().


该结构体的文档由以下文件生成: