Panda3D
|
Describes a particle that requires representation by a point (pixel, sparkle, billboard) More...
#include "pointParticle.h"
Public Member Functions | |
PointParticle (PN_stdfloat lifespan=0.0f, bool alive=false) | |
simple constructor | |
PointParticle (const PointParticle ©) | |
copy constructor | |
virtual | ~PointParticle () |
simple destructor | |
virtual void | die () |
particle death routine | |
virtual void | init () |
particle init routine | |
virtual PhysicsObject * | make_copy () const |
dynamic copier | |
virtual void | output (ostream &out) const |
Write a string representation of this instance to <out>. | |
virtual void | update () |
particle update | |
virtual void | write (ostream &out, int indent=0) const |
Write a string representation of this instance to <out>. |
Describes a particle that requires representation by a point (pixel, sparkle, billboard)
Definition at line 25 of file pointParticle.h.
PointParticle::PointParticle | ( | PN_stdfloat | lifespan = 0.0f , |
bool | alive = false |
||
) |
simple constructor
Definition at line 23 of file pointParticle.cxx.
References PhysicsObject::set_oriented().
Referenced by make_copy().
PointParticle::PointParticle | ( | const PointParticle & | copy | ) |
copy constructor
Definition at line 34 of file pointParticle.cxx.
References PhysicsObject::set_oriented().
PointParticle::~PointParticle | ( | ) | [virtual] |
simple destructor
Definition at line 45 of file pointParticle.cxx.
void PointParticle::die | ( | ) | [virtual] |
void PointParticle::init | ( | ) | [virtual] |
PhysicsObject * PointParticle::make_copy | ( | ) | const [virtual] |
dynamic copier
Implements BaseParticle.
Definition at line 54 of file pointParticle.cxx.
References PointParticle().
void PointParticle::output | ( | ostream & | out | ) | const [virtual] |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticle.
Definition at line 92 of file pointParticle.cxx.
void PointParticle::update | ( | ) | [virtual] |
void PointParticle::write | ( | ostream & | out, |
int | indent = 0 |
||
) | const [virtual] |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticle.
Definition at line 105 of file pointParticle.cxx.