Méthode | 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.
|
|
NoiseMapBuilderPlane ( ) : System |
Default constructor
|
|
NoiseMapBuilderPlane ( float lowerXBound, float upperXBound, float lowerZBound, float upperZBound, bool seamless ) : System |
Create a new plane with given value. @pre The lower x boundary is less than the upper x boundary. @pre The lower z boundary is less than the upper z boundary. @throw ArgumentException See the preconditions.
|
|
SetBounds ( float lowerXBound, float upperXBound, float lowerZBound, float upperZBound ) : void |
Sets the boundaries of the planar noise map. @pre The lower x boundary is less than the upper x boundary. @pre The lower z boundary is less than the upper z boundary. @throw ArgumentException See the preconditions.
|
public NoiseMapBuilderPlane ( float lowerXBound, float upperXBound, float lowerZBound, float upperZBound, bool seamless ) : System | ||
lowerXBound | float | The lower x boundary of the noise map, in units. |
upperXBound | float | The upper x boundary of the noise map, in units. |
lowerZBound | float | The lower z boundary of the noise map, in units. |
upperZBound | float | The upper z boundary of the noise map, in units. |
seamless | bool | a flag specifying whether seamless tiling is enabled. |
Résultat | System |
public SetBounds ( float lowerXBound, float upperXBound, float lowerZBound, float upperZBound ) : void | ||
lowerXBound | float | The lower x boundary of the noise map, in units. |
upperXBound | float | The upper x boundary of the noise map, in units. |
lowerZBound | float | The lower z boundary of the noise map, in units. |
upperZBound | float | The upper z boundary of the noise map, in units. |
Résultat | void |