public

Inheritance Graph

graph BT
	ParticleGravityAffector
	ParticleGravityAffector --> ParticleAffector
	click ParticleGravityAffector "classMinSG_1_1ParticleGravityAffector"
	click ParticleAffector "classMinSG_1_1ParticleAffector"

Description

Affects particles with a constant force, defined by

ParticleGravityAffector > ParticleAffector > AbstractNodeBehaviour

Protected Attributes

   
   
Geometry::Vec3f gravity

Public Functions

   
   
  ParticleGravityAffector( ParticleSystemNode * node)
   
  ~ParticleGravityAffector()
   
AbstractBehaviour::behaviourResult_t doExecute()
   
void setGravity(const Geometry::Vec3f & g)
   
const Geometry::Vec3f & getGravity() const

Documentation

variable
MinSG::ParticleGravityAffector::gravity

protected
 
 
Geometry::Vec3f gravity

The force (in units per second) that should affector the particles

Defined in MinSG/Ext/ParticleSystem/ParticleAffectors.h:99


function
MinSG::ParticleGravityAffector::ParticleGravityAffector

public
     
     
ParticleGravityAffector( ParticleSystemNode * node )

Defined in MinSG/Ext/ParticleSystem/ParticleAffectors.h:84


function
MinSG::ParticleGravityAffector::~ParticleGravityAffector

public virtual
   
   
~ParticleGravityAffector( )

Defined in MinSG/Ext/ParticleSystem/ParticleAffectors.h:85


function
MinSG::ParticleGravityAffector::doExecute

public virtual
   
   
AbstractBehaviour::behaviourResult_t doExecute( )

Affects particles with a constant force, defined by

Defined in MinSG/Ext/ParticleSystem/ParticleAffectors.h:90


function
MinSG::ParticleGravityAffector::setGravity

public inline
     
     
void setGravity( const Geometry::Vec3f & g )

Defined in MinSG/Ext/ParticleSystem/ParticleAffectors.h:92


function
MinSG::ParticleGravityAffector::getGravity

public const inline
   
   
const Geometry::Vec3f & getGravity( ) const

Defined in MinSG/Ext/ParticleSystem/ParticleAffectors.h:93