le2d v0.4.3
2D game engine framework
 
Loading...
Searching...
No Matches
le::anim::SamplerFloor< PayloadT > Struct Template Reference

Quantized Animation Sampler. More...

#include <le2d/anim/sampler.hpp>

Public Member Functions

constexpr auto sample (std::span< Keyframe< PayloadT > const > keyframes, kvf::Seconds const time) const -> PayloadT
 

Detailed Description

template<typename PayloadT>
struct le::anim::SamplerFloor< PayloadT >

Quantized Animation Sampler.

Member Function Documentation

◆ sample()

template<typename PayloadT >
constexpr auto le::anim::SamplerFloor< PayloadT >::sample ( std::span< Keyframe< PayloadT > const >  keyframes,
kvf::Seconds const  time 
) const -> PayloadT
inlineconstexpr

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