Navigation menu |
A portable, open-source, coherent noise-generating library for C++ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
noise::module::Const Class Reference |
Public Member Functions | |
Const () | |
Constructor. | |
double | GetConstValue () const |
Returns the constant output value for this noise module. | |
virtual int | GetSourceModuleCount () const |
Returns the number of source modules required by this noise module. | |
virtual double | GetValue (double x, double y, double z) const |
Generates an output value given the coordinates of the specified input value. | |
void | SetConstValue (double constValue) |
Sets the constant output value for this noise module. | |
Protected Attributes | |
double | m_constValue |
Constant value. |
|
Constructor. The default constant value is set to noise::module::DEFAULT_CONST_VALUE. |
|
Returns the constant output value for this noise module.
|
|
Returns the number of source modules required by this noise module.
Implements noise::module::Module. |
|
Generates an output value given the coordinates of the specified input value.
To determine the number of source modules required by this noise module, call the GetSourceModuleCount() method. Implements noise::module::Module. |
|
Sets the constant output value for this noise module.
|
© 2003-2005 Jason Bevins
The libnoise source documentation was generated by doxygen 1.3.9.1