프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_WrapEnabled | bool | ||
_lowerHeightBound | float | ||
_upperHeightBound | float |
메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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.
|
protected abstract RenderHeight ( int x, int y, float source, float boundDiff ) : void | ||
x | int | |
y | int | |
source | float | |
boundDiff | float | |
리턴 | void |
public SetBounds ( float lowerBound, float upperBound ) : void | ||
lowerBound | float | The lower boundary of the heightmap |
upperBound | float | The upper boundary of the heightmap |
리턴 | 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 |
리턴 | void |