C# 클래스 LibNoise.Unity.Generator.Perlin

Provides a noise module that outputs a three-dimensional perlin noise. [GENERATOR]
상속: ModuleBase
파일 보기 프로젝트 열기: Keshire/Unity-polygon-map-generation 1 사용 예제들

공개 메소드들

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

Returns the output value for the given input coordinates.

Perlin ( ) : System

Initializes a new instance of Perlin.

Perlin ( double frequency, double lacunarity, double persistence, int octaves, int seed, QualityMode quality ) : System

Initializes a new instance of Perlin.

메소드 상세

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

Perlin() 공개 메소드

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

Perlin() 공개 메소드

Initializes a new instance of Perlin.
public Perlin ( double frequency, double lacunarity, double persistence, int octaves, int seed, QualityMode quality ) : System
frequency double The frequency of the first octave.
lacunarity double The lacunarity of the perlin noise.
persistence double The persistence of the perlin noise.
octaves int The number of octaves of the perlin noise.
seed int The seed of the perlin noise.
quality QualityMode The quality of the perlin noise.
리턴 System