载入中...
搜索中...
未找到
eve::particles::ParticleCurve类 参考

Multi-point scalar curve sampled with linear interpolation between points. Empty curve means "use the legacy two-point linear fallback". 更多...

#include <ParticleCurve.h>

Public 成员函数

void clear ()
 
void add (float t, float v)
 
bool empty () const
 
size_t size () const
 
const CurvePointat (size_t i) const
 
float sample (float t, float fallback) const
 Sample at normalized t; fallback is returned when the curve is empty.
 

详细描述

Multi-point scalar curve sampled with linear interpolation between points. Empty curve means "use the legacy two-point linear fallback".

在文件 ParticleCurve.h88 行定义.

成员函数说明

◆ add()

void eve::particles::ParticleCurve::add ( float  t,
float  v 
)
inline

在文件 ParticleCurve.h92 行定义.

引用了 v, x , 以及 y.

◆ at()

const CurvePoint & eve::particles::ParticleCurve::at ( size_t  i) const
inline

在文件 ParticleCurve.h100 行定义.

◆ clear()

void eve::particles::ParticleCurve::clear ( )
inline

在文件 ParticleCurve.h90 行定义.

◆ empty()

bool eve::particles::ParticleCurve::empty ( ) const
inline

在文件 ParticleCurve.h98 行定义.

被这些函数引用 eve::particles::stepEmitterSim().

◆ sample()

float eve::particles::ParticleCurve::sample ( float  t,
float  fallback 
) const
inline

Sample at normalized t; fallback is returned when the curve is empty.

在文件 ParticleCurve.h103 行定义.

引用了 f, n , 以及 p.

被这些函数引用 eve::particles::stepEmitterSim().

◆ size()

size_t eve::particles::ParticleCurve::size ( ) const
inline

在文件 ParticleCurve.h99 行定义.


该类的文档由以下文件生成: