14 INLINE
void BaseParticle::set_age(PN_stdfloat age) {
18 INLINE
void BaseParticle::set_lifespan(PN_stdfloat lifespan) {
22 INLINE
void BaseParticle::set_alive(
bool alive) {
26 INLINE
void BaseParticle::set_index(
int index) {
30 INLINE PN_stdfloat BaseParticle::get_age()
const {
34 INLINE PN_stdfloat BaseParticle::get_lifespan()
const {
38 INLINE
bool BaseParticle::get_alive()
const {
42 INLINE
int BaseParticle::get_index()
const {
46 INLINE PN_stdfloat BaseParticle::get_parameterized_age()
const {
47 if (_lifespan <= 0)
return 1.0;
48 return _age / _lifespan;
51 INLINE PN_stdfloat BaseParticle::get_parameterized_vel()
const {
PN_stdfloat get_terminal_velocity() const
tv query
LVector3 get_velocity() const
Velocity Query per second.