Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::fx::ParticleInit< PartT, Emitter, Life, Pos, Motion, Custom > Struct Template Reference

Inheritance diagram for ONE::fx::ParticleInit< PartT, Emitter, Life, Pos, Motion, Custom >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class PartT, class Emitter, template< class, class > class Life, template< class, class > class Pos, template< class, class > class Motion, template< class, class > class Custom = NoInit>
struct ONE::fx::ParticleInit< PartT, Emitter, Life, Pos, Motion, Custom >

performs full particle initialization

This template combines a lifetime, a position, a motion as well as a custom initialization policy. This allows easy combination of partial initialization policies for a great number of particle behaviors.

Parameters:
Life the lifetime initialization policy
Pos the position initialization policy
Author:
Daniel Seibert


Public Member Functions

void init (Emitter *emitter, PartT &particle)


Member Function Documentation

template<class PartT, class Emitter, template< class, class > class Life, template< class, class > class Pos, template< class, class > class Motion, template< class, class > class Custom = NoInit>
void ONE::fx::ParticleInit< PartT, Emitter, Life, Pos, Motion, Custom >::init Emitter *  emitter,
PartT &  particle
[inline]
 


Generated on Wed Sep 7 19:03:14 2005 for ONEngine by  doxygen 1.4.3