Method | Description | |
---|---|---|
getFileName ( Level aLevel ) : string | ||
getHeight ( float x, float y ) : float | ||
getHeight ( int x, int y ) : float | ||
getHeight ( ) : int | ||
getNormal ( float x, float y ) : Vector3 | ||
getPoolAt ( int x, int y ) : |
||
getPositionAt ( float x, float y ) : Vector3 | ||
getTextureValue ( float x, float y ) : Vector4 | ||
getWidth ( ) : int | ||
initialise ( Level aLevel ) : void | ||
setWaterPools ( |
Method | Description | |
---|---|---|
distance ( float line1x, float line1y, float line2x, float line2y, float px, float py ) : float | ||
distanceFromALine ( float pX, float pY, float lX0, float lY0, float lX1, float lY1 ) : float | ||
initHeightMap ( String fileName ) : void | ||
initNormalMap ( ) : void | ||
initTextureMap ( String fileName ) : void |
public static getFileName ( Level aLevel ) : string | ||
aLevel | Level | |
return | string |
public getHeight ( float x, float y ) : float | ||
x | float | |
y | float | |
return | float |
public getNormal ( float x, float y ) : Vector3 | ||
x | float | |
y | float | |
return | Vector3 |
public getPositionAt ( float x, float y ) : Vector3 | ||
x | float | |
y | float | |
return | Vector3 |
public getTextureValue ( float x, float y ) : Vector4 | ||
x | float | |
y | float | |
return | Vector4 |