Property | Type | Description | |
---|---|---|---|
_WrapEnabled | bool | ||
_lowerHeightBound | float | ||
_upperHeightBound | float |
Method | Description | |
---|---|---|
AbstractHeightmapRenderer ( ) : System |
template constructor
|
|
ExactFit ( ) : void |
Find in the noise map the lowest and highest value to define the LowerHeightBound and UpperHeightBound
|
|
Render ( ) : void |
Renders the destination heightmap using the contents of the source noise map
|
|
SetBounds ( float lowerBound, float upperBound ) : void |
Sets the boundaries of the heightmap. @throw ArgumentException if the lower boundary equals the upper boundary or if the lower boundary is greater than upper boundary
|
Method | Description | |
---|---|---|
CheckHeightmap ( ) : bool |
|
|
RenderHeight ( int x, int y, float source, float boundDiff ) : void |
|
|
SetHeightmapSize ( int width, int height ) : void |
Sets the new size for the target heightmap.
|
public AbstractHeightmapRenderer ( ) : System | ||
return | System |
protected abstract RenderHeight ( int x, int y, float source, float boundDiff ) : void | ||
x | int | |
y | int | |
source | float | |
boundDiff | float | |
return | void |
public SetBounds ( float lowerBound, float upperBound ) : void | ||
lowerBound | float | The lower boundary of the heightmap |
upperBound | float | The upper boundary of the heightmap |
return | void |
protected abstract SetHeightmapSize ( int width, int height ) : void | ||
width | int | width The new width for the heightmap |
height | int | height The new height for the heightmap |
return | void |