Method | Description | |
---|---|---|
HeightMap ( Level theLevel ) : System | ||
HeightMap ( int width, int height ) : System | ||
clone ( ) : |
||
getHeight ( float x, float y ) : float | ||
getMapHeight ( ) : int | ||
getMapWidth ( ) : int | ||
getPositionAt ( float x, float y ) : Vector3 | ||
initalise ( ) : void | ||
setHeight ( float x, float y, float height ) : void |
Method | Description | |
---|---|---|
distanceFromALine ( float pX, float pY, float lX0, float lY0, float lX1, float lY1 ) : float |
public HeightMap ( int width, int height ) : System | ||
width | int | |
height | int | |
return | System |
public getHeight ( float x, float y ) : float | ||
x | float | |
y | float | |
return | float |
public getPositionAt ( float x, float y ) : Vector3 | ||
x | float | |
y | float | |
return | Vector3 |
public setHeight ( float x, float y, float height ) : void | ||
x | float | |
y | float | |
height | float | |
return | void |