A modifier that will draw an illuminated circle that fades over a distance to a previous texture. More...
#include <flaremodifier.h>
Inheritance diagram for Mezzanine::Graphics::Procedural::FlareModifier:
Collaboration diagram for Mezzanine::Graphics::Procedural::FlareModifier:Public Member Functions | |
| FlareModifier () | |
| Blank constructor. | |
| virtual | ~FlareModifier () |
| Class destructor. | |
| virtual String | GetName () const |
| Gets the name of this modifier. More... | |
| virtual void | Modify (TextureBuffer &Buffer) |
| Alters the generated pixels in a TextureBuffer. More... | |
| FlareModifier & | SetColour (const ColourValue &Colour) |
| Sets the colour of the flare to be rendered. More... | |
| FlareModifier & | SetColour (const Real Red, const Real Green, const Real Blue, const Real Alpha=1.0) |
| Sets the colour of the flare to be rendered. More... | |
| FlareModifier & | SetFlareBrightness (const Real Brightness) |
| Sets the brightness of the flare. More... | |
| FlareModifier & | SetFlareCenter (const Vector2 &Center) |
| Sets the center position of the flare. More... | |
| FlareModifier & | SetFlareCenter (const Real X, const Real Y) |
| Sets the center position of the flare. More... | |
| FlareModifier & | SetFlareCenterX (const Real X) |
| Sets the center position of the flare on the X axis. More... | |
| FlareModifier & | SetFlareCenterY (const Real Y) |
| Sets the center position of the flare on the Y axis. More... | |
| FlareModifier & | SetFlareRadius (const Vector2 &Radius) |
| Sets the radius size of the flare. More... | |
| FlareModifier & | SetFlareRadius (const Real X, const Real Y) |
| Sets the radius size of the flare. More... | |
| FlareModifier & | SetFlareRadiusX (const Real X) |
| Sets the radius size of the flare on the X axis. More... | |
| FlareModifier & | SetFlareRadiusY (const Real Y) |
| Sets the radius size of the flare on the Y axis. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::TextureModifier | |
| TextureModifier () | |
| Blank constructor. | |
| virtual | ~TextureModifier () |
| Class destructor. | |
Protected Attributes | |
| Real | FlareBrightness |
| A modifier for the intensity of the flare colour. More... | |
| Vector2 | FlareCenter |
| The central position of the flare on the texture in relative coordinates. More... | |
| ColourValue | FlareColour |
| The colour of the flare to draw. More... | |
| Vector2 | FlareRadius |
| The radius of the flare to draw in relative coordinates. More... | |
A modifier that will draw an illuminated circle that fades over a distance to a previous texture.
Definition at line 84 of file flaremodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::TextureModifier.
Definition at line 131 of file flaremodifier.cpp.
|
virtual |
Alters the generated pixels in a TextureBuffer.
| Buffer | The buffer to be modified. |
Implements Mezzanine::Graphics::Procedural::TextureModifier.
Definition at line 93 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetColour | ( | const ColourValue & | Colour | ) |
Sets the colour of the flare to be rendered.
| Colour | The colour of the flare to draw. Initial Value: (1.0,1.0,1.0,1.0). |
Definition at line 137 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetColour | ( | const Real | Red, |
| const Real | Green, | ||
| const Real | Blue, | ||
| const Real | Alpha = 1.0 |
||
| ) |
Sets the colour of the flare to be rendered.
| Red | The amount of red colour in the flare to draw. Initial Value: 1.0. |
| Green | The amount of green colour in the flare to draw. Initial Value: 1.0. |
| Blue | The amount of blue colour in the flare to draw. Initial Value: 1.0. |
| Alpha | The amount of alpha colour in the flare to draw. Initial Value: 1.0. |
Definition at line 143 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareBrightness | ( | const Real | Brightness | ) |
Sets the brightness of the flare.
| Brightness | A modifier for the intensity of the flare colour. Initial Value: 1.0. |
Definition at line 199 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareCenter | ( | const Vector2 & | Center | ) |
Sets the center position of the flare.
| Center | The central position of the flare on the texture in relative coordinates. Initial Value: (0.5,0.5). |
Definition at line 149 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareCenter | ( | const Real | X, |
| const Real | Y | ||
| ) |
Sets the center position of the flare.
| X | The center position of the flare on the X axis in relative coordinates. Initial Value: 0.5. |
| Y | The center position of the flare on the Y axis in relative coordinates. Initial Value: 0.5. |
Definition at line 155 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareCenterX | ( | const Real | X | ) |
Sets the center position of the flare on the X axis.
| X | The center position of the flare on the X axis in relative coordinates. Initial Value: 0.5. |
Definition at line 162 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareCenterY | ( | const Real | Y | ) |
Sets the center position of the flare on the Y axis.
| Y | The center position of the flare on the Y axis in relative coordinates. Initial Value: 0.5. |
Definition at line 168 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareRadius | ( | const Vector2 & | Radius | ) |
Sets the radius size of the flare.
| Radius | The radius of the flare to draw in relative coordinates. Initial Value: (0.5,0.5). |
Definition at line 174 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareRadius | ( | const Real | X, |
| const Real | Y | ||
| ) |
Sets the radius size of the flare.
| X | The radius of the flare on the X axis in relative coordinates. Initial Value: 0.5. |
| Y | The radius of the flare on the Y axis in relative coordinates. Initial Value: 0.5. |
Definition at line 180 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareRadiusX | ( | const Real | X | ) |
Sets the radius size of the flare on the X axis.
| X | The radius of the flare on the X axis in relative coordinates. Initial Value: 0.5. |
Definition at line 187 of file flaremodifier.cpp.
| FlareModifier & Mezzanine::Graphics::Procedural::FlareModifier::SetFlareRadiusY | ( | const Real | Y | ) |
Sets the radius size of the flare on the Y axis.
| Y | The radius of the flare on the Y axis in relative coordinates. Initial Value: 0.5. |
Definition at line 193 of file flaremodifier.cpp.
|
protected |
A modifier for the intensity of the flare colour.
Definition at line 98 of file flaremodifier.h.
|
protected |
The central position of the flare on the texture in relative coordinates.
Definition at line 92 of file flaremodifier.h.
|
protected |
The colour of the flare to draw.
Definition at line 89 of file flaremodifier.h.
|
protected |
The radius of the flare to draw in relative coordinates.
Definition at line 95 of file flaremodifier.h.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.