hoa_video::private_video::ParticleKeyframe Class Reference

Keyframes, consist of a _time, plus various properties. These are used to specify how the properties of a particle vary over time. For example, in most systems, we'll want particles to fade out over their lifetime, so this could be done by creating 2 keyframes, where the alpha component of the 2nd keyframe's _color is zero. More...

#include <particle_keyframe.h>

Collaboration diagram for hoa_video::private_video::ParticleKeyframe:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ParticleKeyframe ()

Public Attributes

Color color
 color (includes alpha)
Color color_variation
float rotation_speed
 rotation speed, radians per second clockwise
float rotation_speed_variation
 random variation added to rotation speed
float size_variation_x
 random variation added to size
float size_variation_y
float size_x
 width and height scale. 1.0 means to use the normal height
float size_y
float time

Detailed Description

Keyframes, consist of a _time, plus various properties. These are used to specify how the properties of a particle vary over time. For example, in most systems, we'll want particles to fade out over their lifetime, so this could be done by creating 2 keyframes, where the alpha component of the 2nd keyframe's _color is zero.

***************************************************************************

Definition at line 44 of file particle_keyframe.h.


Constructor & Destructor Documentation

hoa_video::private_video::ParticleKeyframe::ParticleKeyframe (  )  [inline]

Definition at line 48 of file particle_keyframe.h.


Member Data Documentation

Color hoa_video::private_video::ParticleKeyframe::color

color (includes alpha)

Definition at line 65 of file particle_keyframe.h.

Color hoa_video::private_video::ParticleKeyframe::color_variation

random variation added to color (each channel contains the variation for that channel)

Definition at line 79 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::rotation_speed

rotation speed, radians per second clockwise

Definition at line 68 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::rotation_speed_variation

random variation added to rotation speed

Definition at line 75 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::size_variation_x

random variation added to size

Definition at line 71 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::size_variation_y

Definition at line 72 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::size_x

width and height scale. 1.0 means to use the normal height

Definition at line 61 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::size_y

Definition at line 62 of file particle_keyframe.h.

float hoa_video::private_video::ParticleKeyframe::time

Definition at line 81 of file particle_keyframe.h.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 23:16:49 2007 for Hero of Allacrost by  doxygen 1.5.1