iParticleEffector Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iParticleEffector Struct Reference
Mesh plugins

Base interface for particle effectors. More...

`#include <imesh/particles.h>`

Inheritance diagram for iParticleEffector:

List of all members.

## Public Member Functions
virtual csPtr< iParticleEffector > | Clone () const =0
| Clone this effector.
virtual void | EffectParticles (iParticleSystemBase *system, const csParticleBuffer &particleBuffer, float dt, float totalTime)=0
| Calculate effect on particles and update their velocities.

## Detailed Description

Base interface for particle effectors.

A particle effector is an object which affects the movement and lifetime of particles, such as simple forces (gravity),

Definition at line 371 of file particles.h.

## Member Function Documentation

virtual csPtr<iParticleEffector> iParticleEffector::Clone | ( |  | ) | const`[pure virtual]`

Clone this effector.

virtual void iParticleEffector::EffectParticles | ( | iParticleSystemBase * | system,
|  | const csParticleBuffer & | particleBuffer,
|  | float | dt,
|  | float | totalTime
| ) |  | `[pure virtual]`

Calculate effect on particles and update their velocities.

The documentation for this struct was generated from the following file:

- imesh/particles.h