C# Class Universe.Framework.SceneInfo.TerrainUtil

Datei anzeigen Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
GetBilinearInterpolate ( float x, float y, ITerrainChannel map ) : float
InterpolatedNoise ( float x, float y ) : float
MetersToSphericalStrength ( float size ) : float
PerlinNoise2D ( float x, float y, int octaves, float persistence ) : float
SphericalFactor ( float x, float y, float rx, float ry, float size ) : float

Private Methods

Method Description
Interpolate ( float x, float y, float z ) : float
Noise ( float x, float y ) : float
SmoothedNoise1 ( float x, float y ) : float

Method Details

GetBilinearInterpolate() public static method

public static GetBilinearInterpolate ( float x, float y, ITerrainChannel map ) : float
x float
y float
map ITerrainChannel
return float

InterpolatedNoise() public static method

public static InterpolatedNoise ( float x, float y ) : float
x float
y float
return float

MetersToSphericalStrength() public static method

public static MetersToSphericalStrength ( float size ) : float
size float
return float

PerlinNoise2D() public static method

public static PerlinNoise2D ( float x, float y, int octaves, float persistence ) : float
x float
y float
octaves int
persistence float
return float

SphericalFactor() public static method

public static SphericalFactor ( float x, float y, float rx, float ry, float size ) : float
x float
y float
rx float
ry float
size float
return float