Свойство | Type | Description | |
---|---|---|---|
PCallBack | NoiseMapBuilderCallback | ||
PFilter | IBuilderFilter | ||
PHeight | int | ||
PNoiseMap | IMap2D |
||
PSourceModule | IModule | ||
PWidth | int |
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.
|
|
SetSize ( int width, int height ) : void |
Sets the new size for the destination noise map. This method does not change the size of the destination noise map until the Build() method is called. @pre The width and height values are positive. @throw ArgumentException See the preconditions.
|
public SetSize ( int width, int height ) : void | ||
width | int | width The new width for the destination noise map. |
height | int | height The new height for the destination noise map. |
Résultat | void |
protected NoiseMapBuilderCallback PCallBack | ||
Résultat | NoiseMapBuilderCallback |