Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::blend_space_def Class Reference

#include <animation_blend_space.h>

Public Types

using parameter_t = float
 
using parameters_t = std::vector<parameter_t>
 

Public Member Functions

void add_clip (const parameters_t &params, const asset_handle< animation_clip > &clip)
 
void compute_blend (const parameters_t &current_params, std::vector< std::pair< asset_handle< animation_clip >, float > > &out_clips) const
 
auto get_parameter_count () const -> size_t
 

Detailed Description

Definition at line 29 of file animation_blend_space.h.

Member Typedef Documentation

◆ parameter_t

Definition at line 32 of file animation_blend_space.h.

◆ parameters_t

Definition at line 33 of file animation_blend_space.h.

Member Function Documentation

◆ add_clip()

void unravel::blend_space_def::add_clip ( const parameters_t & params,
const asset_handle< animation_clip > & clip )

Definition at line 339 of file animation_blend_space.cpp.

◆ compute_blend()

void unravel::blend_space_def::compute_blend ( const parameters_t & current_params,
std::vector< std::pair< asset_handle< animation_clip >, float > > & out_clips ) const

Definition at line 345 of file animation_blend_space.cpp.

◆ get_parameter_count()

auto unravel::blend_space_def::get_parameter_count ( ) const -> size_t

Definition at line 547 of file animation_blend_space.cpp.


The documentation for this class was generated from the following files: