C# 클래스 LibNoise.Modifier.Clamp

Noise module that clamps the output value from a source module to a range of values. The range of values in which to clamp the output value is called the clamping range. If the output value from the source module is less than the lower bound of the clamping range, this noise module clamps that value to the lower bound. If the output value from the source module is greater than the upper bound of the clamping range, this noise module clamps that value to the upper bound.
상속: ModifierModule, IModule3D
파일 보기 프로젝트 열기: everbytes/LibNoise

보호된 프로퍼티들

프로퍼티 타입 설명
_lowerBound float
_upperBound float

공개 메소드들

메소드 설명
Clamp ( )
Clamp ( IModule source )
Clamp ( IModule source, float lower, float upper )
GetValue ( float x, float y, float z ) : float

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

메소드 상세

Clamp() 공개 메소드

public Clamp ( )

Clamp() 공개 메소드

public Clamp ( IModule source )
source IModule

Clamp() 공개 메소드

public Clamp ( IModule source, float lower, float upper )
source IModule
lower float
upper 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

프로퍼티 상세

_lowerBound 보호되어 있는 프로퍼티

protected float _lowerBound
리턴 float

_upperBound 보호되어 있는 프로퍼티

protected float _upperBound
리턴 float