Render a glow.
More...
#include <ProceduralTextureModifiers.h>
Render a glow.
Glow is a blurred, filled ellipse of given color, that is added to existing content.
Example:
◆ Glow()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to modify the image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setAlpha()
Set alpha value of blur effect.
- Parameters
-
alpha | New alpha value for blur effect (default 1) |
◆ setCenterX()
Set the relative center position of the blur circle on x axis.
- Parameters
-
centerx | New relative center of the blur circle [0.0, 1.0] (default 0.5) |
◆ setCenterY()
Set the relative center position of the blur circle on y axis.
- Parameters
-
centery | New relative center of the blur circle [0.0, 1.0] (default 0.5) |
◆ setColour() [1/2]
Set the colour of the glow ellipse.
- Parameters
-
◆ setColour() [2/2]
Set the colour of the glow ellipse.
- Parameters
-
red | Red value of the glow ellipse [0.0, 1.0] (default 1.0) |
green | Green value of the glow ellipse [0.0, 1.0] (default 1.0) |
blue | Blue value of the glow ellipse [0.0, 1.0] (default 1.0) |
alpha | Alpha value of the glow ellipse [0.0, 1.0] (default 1.0) |
◆ setGamma()
Set gamma value of blur effect.
- Parameters
-
gamma | New gamma value for blur effect (default 1) |
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ setRadiusX()
Set the relative radius of the blur circle in x direction.
- Parameters
-
radiusx | New relative radius of the blur circle [0.0, 1.0] (default 0.5) |
◆ setRadiusY()
Set the relative radius of the blur circle in y direction.
- Parameters
-
radiusy | New relative radius of the blur circle [0.0, 1.0] (default 0.5) |
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureModifiers.h
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50