nngn
Loading...
Searching...
No Matches
nngn::LightAnimation Class Reference

#include <animation.h>

Inheritance diagram for nngn::LightAnimation:
Collaboration diagram for nngn::LightAnimation:

Public Member Functions

void load (nngn::lua::table_view t)
 
void update (const Timing &t, Math::rnd_generator_t *rnd, float *a, bool *updated)
 
void update (const Timing &t, Math::rnd_generator_t *rnd)
 

Private Attributes

std::chrono::milliseconds rate = {}
 
std::chrono::milliseconds timer = {}
 
AnimationFunction f = {}
 

Additional Inherited Members

- Public Attributes inherited from nngn::Animation
Entityentity = nullptr
 

Member Function Documentation

◆ load()

void nngn::LightAnimation::load ( nngn::lua::table_view t)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update() [1/2]

void nngn::LightAnimation::update ( const Timing & t,
Math::rnd_generator_t * rnd )

◆ update() [2/2]

void nngn::LightAnimation::update ( const Timing & t,
Math::rnd_generator_t * rnd,
float * a,
bool * updated )
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ f

AnimationFunction nngn::LightAnimation::f = {}
private

◆ rate

std::chrono::milliseconds nngn::LightAnimation::rate = {}
private

◆ timer

std::chrono::milliseconds nngn::LightAnimation::timer = {}
private

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