h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <AdvancedStrokeShaders.h>
Inheritance diagram for SpatialNoiseShader:
Public Member Functions | |
SpatialNoiseShader (float iAmount, float ixScale, int nbOctave, bool smooth, bool pureRandom) | |
virtual | ~SpatialNoiseShader () |
virtual void | shade (Stroke &ioStroke) const |
SpatialNoiseShader | ( | float | iAmount, | |
float | ixScale, | |||
int | nbOctave, | |||
bool | smooth, | |||
bool | pureRandom | |||
) |
Builds the shader.
iAmount | The amplitude of the noise. | |
ixScale | The noise frequency | |
nbOctave | The number of octaves | |
smooth | If you want the noise to be smooth | |
pureRandom | If you don't want any coherence |
virtual ~SpatialNoiseShader | ( | ) | [inline, virtual] |
Destructor.
virtual void shade | ( | Stroke & | ioStroke | ) | const [virtual] |
The shading method.
Reimplemented from StrokeShader.