Méthode | 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 |
Méthode | Description | |
---|---|---|
distanceFromALine ( float pX, float pY, float lX0, float lY0, float lX1, float lY1 ) : float |
public HeightMap ( Level theLevel ) : System | ||
theLevel | Level | |
Résultat | System |
public HeightMap ( int width, int height ) : System | ||
width | int | |
height | int | |
Résultat | System |
public getHeight ( float x, float y ) : float | ||
x | float | |
y | float | |
Résultat | float |
public getPositionAt ( float x, float y ) : Vector3 | ||
x | float | |
y | float | |
Résultat | Vector3 |
public setHeight ( float x, float y, float height ) : void | ||
x | float | |
y | float | |
height | float | |
Résultat | void |