Rumba C++ SDK
maquina::WrapSlice Struct Reference

A monotone slice of time wrapping. More...

#include <AnimCurve.h>

Public Types

using WrapFunc = std::function< std::pair< float, float >(float)>
 

Public Member Functions

 WrapSlice (float start, float end, const WrapFunc &time_wrap_func)
 

Public Attributes

float start
 The start time in the original animation. More...
 
float end
 The end time in the original animation. More...
 
WrapFunc time_wrap_func
 The time wrap functor, for an original animation time, return the new animation time. More...
 

Detailed Description

A monotone slice of time wrapping.

Member Typedef Documentation

◆ WrapFunc

using maquina::WrapSlice::WrapFunc = std::function<std::pair<float,float>(float)>

Constructor & Destructor Documentation

◆ WrapSlice()

maquina::WrapSlice::WrapSlice ( float  start,
float  end,
const WrapFunc time_wrap_func 
)
inline

Member Data Documentation

◆ end

float maquina::WrapSlice::end

The end time in the original animation.

◆ start

float maquina::WrapSlice::start

The start time in the original animation.

◆ time_wrap_func

WrapFunc maquina::WrapSlice::time_wrap_func

The time wrap functor, for an original animation time, return the new animation time.


The documentation for this struct was generated from the following file: