C# 클래스 LibNoise.Operator.Select

Provides a noise module that outputs the value selected from one of two source modules chosen by the output value from a control module. [OPERATOR]
상속: ModuleBase
파일 보기 프로젝트 열기: simonwittber/LibNoise-Unity 1 사용 예제들

공개 메소드들

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

Returns the output value for the given input coordinates.

Select ( ) : System

Initializes a new instance of Select.

Select ( float min, float max, float fallOff, ModuleBase input1, ModuleBase input2, ModuleBase controller ) : System

Initializes a new instance of Select.

SetBounds ( float min, float max ) : void

Sets the bounds.

메소드 상세

GetValue() 공개 메소드

Returns the output value for the given input coordinates.
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

Select() 공개 메소드

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

Select() 공개 메소드

Initializes a new instance of Select.
public Select ( float min, float max, float fallOff, ModuleBase input1, ModuleBase input2, ModuleBase controller ) : System
min float The minimum value.
max float The maximum value.
fallOff float The falloff value at the edge transition.
input1 ModuleBase The first input module.
input2 ModuleBase The second input module.
controller ModuleBase The controller of the operator.
리턴 System

SetBounds() 공개 메소드

Sets the bounds.
public SetBounds ( float min, float max ) : void
min float The minimum value.
max float The maximum value.
리턴 void