Method | Description | |
---|---|---|
Build ( ) : void |
Builds the noise map. @pre SetBounds() was previously called. @pre NoiseMap was previously defined. @pre a SourceModule was previously defined. @pre The width and height values specified by SetSize() are positive. @pre The width and height values specified by SetSize() do not exceed the maximum possible width and height for the noise map. @post The original contents of the destination noise map is destroyed. @throw noise::ArgumentException See the preconditions. If this method is successful, the destination noise map contains the coherent-noise values from the noise module specified by the SourceModule.
|
|
NoiseMapBuilderCylinder ( ) : System |
Default constructor
|
|
SetBounds ( float lowerAngleBound, float upperAngleBound, float lowerHeightBound, float upperHeightBound ) : void |
Sets the boundaries of the planar noise map. @pre The lower Angle boundary is less than the upper Angle boundary. @pre The lower Height boundary is less than the upper Height boundary. @throw ArgumentException See the preconditions.
|
public SetBounds ( float lowerAngleBound, float upperAngleBound, float lowerHeightBound, float upperHeightBound ) : void | ||
lowerAngleBound | float | The lower Angle boundary of the noise map, in units. |
upperAngleBound | float | The upper Angle boundary of the noise map, in units. |
lowerHeightBound | float | The lower Height boundary of the noise map, in units. |
upperHeightBound | float | The upper Height boundary of the noise map, in units. |
return | void |