|
Bubba-3D
0.9.0
Awesome game engine!
|
Public Member Functions | |
| ParticleGenerator (Texture *texture, int amount, Camera *camera, chag::float4x4 modelMatrix, ParticleConf *conf) | |
| void | update (float dt) |
| void | renderShadow (ShaderProgram *shaderProgram) |
| void | render () |
| void | setScaleLod (bool value) |
| void | setLooping (bool value) |
Public Member Functions inherited from IComponent | |
| void | bind (GameObject *owner) |
| virtual void | beforeCollision (GameObject *collider) |
| virtual void | duringCollision (GameObject *collider) |
| virtual void | afterCollision (GameObject *collider) |
| virtual void | onDeath () |
Additional Inherited Members | |
Protected Attributes inherited from IRenderComponent | |
| ShaderProgram * | shaderProgram |
Protected Attributes inherited from IComponent | |
| GameObject * | owner |
Definition at line 31 of file ParticleGenerator.h.
|
virtual |
Render all the spawned Particles.
Implements IRenderComponent.
Definition at line 80 of file ParticleGenerator.cpp.
|
inlinevirtual |
Render shadows from the spawned Particles.
| shaderProgram | The ShaderProgram used to render the shadows. |
Implements IRenderComponent.
Definition at line 50 of file ParticleGenerator.h.
|
virtual |
Update the position of all spawned Particles.
| dt | The time in seconds since last update call. |
Implements IComponent.
Definition at line 137 of file ParticleGenerator.cpp.
1.8.11