C# 클래스 LibNoise.Primitive.ImprovedPerlin

Noise module that outputs 3-dimensional Improved Perlin noise. This noise module outputs values that usually range from -1.0 to +1.0, but there are no guarantees that all output values will exist within that range.
상속: PrimitiveModule, IModule3D, IModule2D, IModule1D
파일 보기 프로젝트 열기: everbytes/LibNoise 1 사용 예제들

공개 메소드들

메소드 설명
GetValue ( float x ) : float

Generates an output value given the coordinates of the specified input value.

GetValue ( float x, float y ) : float

Generates an output value given the coordinates of the specified input value.

GetValue ( float x, float y, float z ) : float

Generates an output value given the coordinates of the specified input value.

ImprovedPerlin ( ) : System

0-args constructor

ImprovedPerlin ( int seed, NoiseQuality quality ) : System

Create a new ImprovedPerlin with given values

비공개 메소드들

메소드 설명
Grad ( int hash, float x ) : float

Modifies the result by adding a directional bias

Grad ( int hash, float x, float y ) : float

Modifies the result by adding a directional bias

Grad ( int hash, float x, float y, float z ) : float

Modifies the result by adding a directional bias

Randomize ( int seed ) : void

Initializes the random values

메소드 상세

GetValue() 공개 메소드

Generates an output value given the coordinates of the specified input value.
public GetValue ( float x ) : float
x float The input coordinate on the x-axis.
리턴 float

GetValue() 공개 메소드

Generates an output value given the coordinates of the specified input value.
public GetValue ( float x, float y ) : float
x float The input coordinate on the x-axis.
y float The input coordinate on the y-axis.
리턴 float

GetValue() 공개 메소드

Generates an output value given the coordinates of the specified input value.
public GetValue ( float x, float y, float z ) : float
x float The input coordinate on the x-axis.
y float The input coordinate on the y-axis.
z float The input coordinate on the z-axis.
리턴 float

ImprovedPerlin() 공개 메소드

0-args constructor
public ImprovedPerlin ( ) : System
리턴 System

ImprovedPerlin() 공개 메소드

Create a new ImprovedPerlin with given values
public ImprovedPerlin ( int seed, NoiseQuality quality ) : System
seed int
quality NoiseQuality
리턴 System