#include <particles.h>
Collaboration diagram for ParticleParamTypes::TweenedParameter< T >:Public Types | |
| using | ValType = T |
| using | This = TweenedParameter<T> |
Public Member Functions | |
| TweenedParameter ()=default | |
| TweenedParameter (T _start, T _end) | |
| template<typename M > | |
| TweenedParameter (M b) | |
| T | blend (float fac) const |
| void | serialize (std::ostream &os) const |
| void | deSerialize (std::istream &is) |
Public Attributes | |
| TweenStyle | style = TweenStyle::fwd |
| u16 | reps = 1 |
| f32 | beginning = 0.0f |
| T | start |
| T | end |
| using ParticleParamTypes::TweenedParameter< T >::This = TweenedParameter<T> |
| using ParticleParamTypes::TweenedParameter< T >::ValType = T |
|
default |
|
inline |
|
inline |
| T TweenedParameter::blend | ( | float | fac | ) | const |
References myrand_range().
Referenced by ParticleSpawner::spawnParticle().
Here is the call graph for this function:
Here is the caller graph for this function:| void TweenedParameter::deSerialize | ( | std::istream & | is | ) |
References readF32(), readU16(), and readU8().
Referenced by ServerParticleTexture::deSerialize().
Here is the call graph for this function:
Here is the caller graph for this function:| void TweenedParameter::serialize | ( | std::ostream & | os | ) | const |
References writeF32(), writeU16(), and writeU8().
Referenced by ServerParticleTexture::serialize().
Here is the call graph for this function:
Here is the caller graph for this function:| f32 ParticleParamTypes::TweenedParameter< T >::beginning = 0.0f |
Referenced by LuaParticleParams::readTweenTable().
| T ParticleParamTypes::TweenedParameter< T >::end |
| u16 ParticleParamTypes::TweenedParameter< T >::reps = 1 |
Referenced by ParticleParamTypes::dump(), and LuaParticleParams::readTweenTable().
| T ParticleParamTypes::TweenedParameter< T >::start |
| TweenStyle ParticleParamTypes::TweenedParameter< T >::style = TweenStyle::fwd |
Referenced by ParticleParamTypes::dump(), and LuaParticleParams::readTweenTable().