C# Class TreeEditor.Perlin

Datei anzeigen Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Noise ( float arg ) : float
Noise ( float x, float y ) : float
Noise ( float x, float y, float z ) : float
Perlin ( ) : System
SetSeed ( int seed ) : void

Private Methods

Method Description
at2 ( float rx, float ry, float x, float y ) : float
at3 ( float rx, float ry, float rz, float x, float y, float z ) : float
lerp ( float t, float a, float b ) : float
normalize2 ( float &x, float &y ) : void
normalize3 ( float &x, float &y, float &z ) : void
s_curve ( float t ) : float
setup ( float value, int &b0, int &b1, float &r0, float &r1 ) : void

Method Details

Noise() public method

public Noise ( float arg ) : float
arg float
return float

Noise() public method

public Noise ( float x, float y ) : float
x float
y float
return float

Noise() public method

public Noise ( float x, float y, float z ) : float
x float
y float
z float
return float

Perlin() public method

public Perlin ( ) : System
return System

SetSeed() public method

public SetSeed ( int seed ) : void
seed int
return void