11void blend_poses(
const animation_pose& pose1,
const animation_pose& pose2,
float factor, animation_pose& result_pose);
18 const animation_pose& additive,
19 const animation_pose& ref_pose,
21 animation_pose& result);
46 void compute_blend_1d(const
parameters_t& current_params,
49 void compute_blend_2d(const
parameters_t& current_params,
53 size_t parameter_count_{0};
void add_clip(const parameters_t ¶ms, const asset_handle< animation_clip > &clip)
void compute_blend(const parameters_t ¤t_params, std::vector< std::pair< asset_handle< animation_clip >, float > > &out_clips) const
std::vector< parameter_t > parameters_t
auto get_parameter_count() const -> size_t
transform_t< float > transform
void blend_poses(const animation_pose &pose1, const animation_pose &pose2, float factor, animation_pose &result_pose)
void blend_poses_additive(const animation_pose &base, const animation_pose &additive, const animation_pose &ref_pose, float weight, animation_pose &result)
auto blend_additive(const math::transform &base, const math::transform &additive, const math::transform &ref, float weight) -> math::transform
auto blend(const math::transform &lhs, const math::transform &rhs, float factor) -> math::transform
Represents a handle to an asset, providing access and management functions.
Struct representing an animation.
std::vector< float > parameters
asset_handle< animation_clip > clip