28 #ifndef __ColourFaderAffector2_H__
29 #define __ColourFaderAffector2_H__
51 String doGet(
const void* target)
const;
52 void doSet(
void* target,
const String& val);
59 String doGet(
const void* target)
const;
60 void doSet(
void* target,
const String& val);
67 String doGet(
const void* target)
const;
68 void doSet(
void* target,
const String& val);
75 String doGet(
const void* target)
const;
76 void doSet(
void* target,
const String& val);
83 String doGet(
const void* target)
const;
84 void doSet(
void* target,
const String& val);
91 String doGet(
const void* target)
const;
92 void doSet(
void* target,
const String& val);
99 String doGet(
const void* target)
const;
100 void doSet(
void* target,
const String& val);
107 String doGet(
const void* target)
const;
108 void doSet(
void* target,
const String& val);
115 String doGet(
const void* target)
const;
116 void doSet(
void* target,
const String& val);
132 void setAdjust1(
float red,
float green,
float blue,
float alpha = 0.0);
133 void setAdjust2(
float red,
float green,
float blue,
float alpha = 0.0);
140 void setRedAdjust1(
float red);
141 void setRedAdjust2(
float red);
144 float getRedAdjust1(
void)
const;
145 float getRedAdjust2(
void)
const;
153 void setGreenAdjust1(
float green);
154 void setGreenAdjust2(
float green);
156 float getGreenAdjust1(
void)
const;
157 float getGreenAdjust2(
void)
const;
164 void setBlueAdjust1(
float blue);
165 void setBlueAdjust2(
float blue);
167 float getBlueAdjust1(
void)
const;
168 float getBlueAdjust2(
void)
const;
176 void setAlphaAdjust1(
float alpha);
177 void setAlphaAdjust2(
float alpha);
179 float getAlphaAdjust1(
void)
const;
180 float getAlphaAdjust2(
void)
const;
183 void setStateChange(
Real NewValue );
184 Real getStateChange(
void)
const;
206 *pComponent += adjust;
208 if (*pComponent < 0.0)
213 else if (*pComponent > 1.0)
Class defining particle system based special effects.
float Real
Software floating point type.
static CmdBlueAdjust2 msBlueCmd2
This plugin subclass of ParticleAffector allows you to alter the colour of particles.
Command object for alpha adjust (see ParamCommand).
static CmdAlphaAdjust2 msAlphaCmd2
Command object for red adjust (see ParamCommand).
static CmdStateChange msStateCmd
Command object for blue adjust (see ParamCommand).
static CmdGreenAdjust1 msGreenCmd1
void applyAdjustWithClamp(float *pComponent, float adjust)
Internal method for adjusting while clamping to [0,1].
Command object for red adjust (see ParamCommand).
#define _OgreParticleFXExport
Command object for alpha adjust (see ParamCommand).
Command object for blue adjust (see ParamCommand).
Abstract class defining the interface to be implemented by particle affectors.
Command object for green adjust (see ParamCommand).
static CmdAlphaAdjust1 msAlphaCmd1
static CmdGreenAdjust2 msGreenCmd2
static CmdRedAdjust2 msRedCmd2
static CmdBlueAdjust1 msBlueCmd1
Command object for alpha adjust (see ParamCommand).
Command object for green adjust (see ParamCommand).
static CmdRedAdjust1 msRedCmd1
Abstract class which is command object which gets/sets parameters.