载入中...
搜索中...
未找到
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 ()
 Clears .
 
void add (float t, float v)
 Adds .
 
bool empty () const
 Empty.
 
size_t size () const
 Returns the size of .
 
const CurvePoint & at (size_t i) const
 At.
 
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.h 第 95 行定义.

成员函数说明

◆ add()

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

Adds .

Sort.

在文件 ParticleCurve.h 第 101 行定义.

引用了 t, v, x , 以及 y.

◆ at()

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

At.

在文件 ParticleCurve.h 第 113 行定义.

◆ clear()

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

Clears .

在文件 ParticleCurve.h 第 98 行定义.

◆ empty()

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

Empty.

在文件 ParticleCurve.h 第 109 行定义.

被这些函数引用 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.h 第 116 行定义.

引用了 f, n, p , 以及 t.

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

◆ size()

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

Returns the size of .

在文件 ParticleCurve.h 第 111 行定义.


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