C# 클래스 LibNoise.Generator.Voronoi

Provides a noise module that outputs Voronoi cells. [GENERATOR]
상속: ModuleBase
파일 보기 프로젝트 열기: ricardojmendez/LibNoise.Unity 1 사용 예제들

공개 메소드들

메소드 설명
GetValue ( double x, double y, double z ) : double

Returns the output value for the given input coordinates.

Voronoi ( ) : System

Initializes a new instance of Voronoi.

Voronoi ( double frequency, double displacement, int seed, bool distance ) : System

Initializes a new instance of Voronoi.

메소드 상세

GetValue() 공개 메소드

Returns the output value for the given input coordinates.
public GetValue ( double x, double y, double z ) : double
x double The input coordinate on the x-axis.
y double The input coordinate on the y-axis.
z double The input coordinate on the z-axis.
리턴 double

Voronoi() 공개 메소드

Initializes a new instance of Voronoi.
public Voronoi ( ) : System
리턴 System

Voronoi() 공개 메소드

Initializes a new instance of Voronoi.
public Voronoi ( double frequency, double displacement, int seed, bool distance ) : System
frequency double The frequency of the first octave.
displacement double The displacement of the ridged-multifractal noise.
seed int The seed of the ridged-multifractal noise.
distance bool Indicates whether the distance from the nearest seed point is applied to the output value.
리턴 System