C# 클래스 LibNoise.Primitive.Constant

Noise module that outputs a constant value. This noise module is not useful by itself, but it is often used as a source module for other noise modules.
상속: PrimitiveModule, IModule4D, IModule3D, IModule2D, IModule1D
파일 보기 프로젝트 열기: everbytes/LibNoise 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_constant float

공개 메소드들

메소드 설명
Constant ( )

Create a new noiws module with DEFAULT_VALUE

Constant ( float value )

Create a new noise module width given value

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.

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

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

메소드 상세

Constant() 공개 메소드

Create a new noiws module with DEFAULT_VALUE
public Constant ( )

Constant() 공개 메소드

Create a new noise module width given value
public Constant ( float value )
value float The value to use

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

GetValue() 공개 메소드

Generates an output value given the coordinates of the specified input value.
public GetValue ( float x, float y, float z, float t ) : 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.
t float The input coordinate on the t-axis.
리턴 float

프로퍼티 상세

_constant 보호되어 있는 프로퍼티

protected float _constant
리턴 float