Plutonium framework API 0.3.0
UI framework libraries for libnx
Loading...
Searching...
No Matches
pu::ui::SigmoidIncrementer< T > Class Template Reference

#include <ui_Types.hpp>

Public Member Functions

constexpr SigmoidIncrementer ()
 
void Start (const u32 f_steps, const T target_initial_val, const T target_incr)
 
void StartFromZero (const u32 f_steps, const T target_final_val)
 
void StartToZero (const u32 f_steps, const T target_initial_val)
 
bool Increment (T &target)
 
bool IsDone ()
 

Static Public Attributes

static constexpr double AllowedError = 0.4f
 

Constructor & Destructor Documentation

◆ SigmoidIncrementer()

template<typename T >
pu::ui::SigmoidIncrementer< T >::SigmoidIncrementer ( )
inlineconstexpr

Member Function Documentation

◆ Increment()

template<typename T >
bool pu::ui::SigmoidIncrementer< T >::Increment ( T & target)
inline

◆ IsDone()

template<typename T >
bool pu::ui::SigmoidIncrementer< T >::IsDone ( )
inline

◆ Start()

template<typename T >
void pu::ui::SigmoidIncrementer< T >::Start ( const u32 f_steps,
const T target_initial_val,
const T target_incr )
inline

◆ StartFromZero()

template<typename T >
void pu::ui::SigmoidIncrementer< T >::StartFromZero ( const u32 f_steps,
const T target_final_val )
inline

◆ StartToZero()

template<typename T >
void pu::ui::SigmoidIncrementer< T >::StartToZero ( const u32 f_steps,
const T target_initial_val )
inline

Member Data Documentation

◆ AllowedError

template<typename T >
double pu::ui::SigmoidIncrementer< T >::AllowedError = 0.4f
staticconstexpr

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