C# Class Klak.Math.Perlin

ファイルを表示 Open project: keijiro/Klak Class Usage Examples

Public Methods

Method Description
Fbm ( Vector2 coord, int octave ) : float
Fbm ( Vector3 coord, int octave ) : float
Fbm ( float x, float y, float z, int octave ) : float
Fbm ( float x, float y, int octave ) : float
Fbm ( float x, int octave ) : float
Noise ( Vector2 coord ) : float
Noise ( Vector3 coord ) : float
Noise ( float x ) : float
Noise ( float x, float y ) : float
Noise ( float x, float y, float z ) : float

Private Methods

Method Description
Fade ( float t ) : float
Grad ( int hash, float x ) : float
Grad ( int hash, float x, float y ) : float
Grad ( int hash, float x, float y, float z ) : float
Lerp ( float t, float a, float b ) : float

Method Details

Fbm() public static method

public static Fbm ( Vector2 coord, int octave ) : float
coord UnityEngine.Vector2
octave int
return float

Fbm() public static method

public static Fbm ( Vector3 coord, int octave ) : float
coord UnityEngine.Vector3
octave int
return float

Fbm() public static method

public static Fbm ( float x, float y, float z, int octave ) : float
x float
y float
z float
octave int
return float

Fbm() public static method

public static Fbm ( float x, float y, int octave ) : float
x float
y float
octave int
return float

Fbm() public static method

public static Fbm ( float x, int octave ) : float
x float
octave int
return float

Noise() public static method

public static Noise ( Vector2 coord ) : float
coord UnityEngine.Vector2
return float

Noise() public static method

public static Noise ( Vector3 coord ) : float
coord UnityEngine.Vector3
return float

Noise() public static method

public static Noise ( float x ) : float
x float
return float

Noise() public static method

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

Noise() public static method

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