Panda3D
Public Member Functions
PointParticle Class Reference

Describes a particle that requires representation by a point (pixel, sparkle, billboard) More...

#include "pointParticle.h"

Inheritance diagram for PointParticle:
BaseParticle PhysicsObject TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 PointParticle (PN_stdfloat lifespan=0.0f, bool alive=false)
 simple constructor
 PointParticle (const PointParticle &copy)
 copy constructor
virtual ~PointParticle ()
 simple destructor
virtual void die ()
 particle death routine
virtual void init ()
 particle init routine
virtual PhysicsObjectmake_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>.

Detailed Description

Describes a particle that requires representation by a point (pixel, sparkle, billboard)

Definition at line 25 of file pointParticle.h.


Constructor & Destructor Documentation

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().

copy constructor

Definition at line 34 of file pointParticle.cxx.

References PhysicsObject::set_oriented().

simple destructor

Definition at line 45 of file pointParticle.cxx.


Member Function Documentation

void PointParticle::die ( ) [virtual]

particle death routine

Implements BaseParticle.

Definition at line 64 of file pointParticle.cxx.

void PointParticle::init ( ) [virtual]

particle init routine

Implements BaseParticle.

Definition at line 73 of file pointParticle.cxx.

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]

particle update

Implements BaseParticle.

Definition at line 82 of file pointParticle.cxx.

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations