C# 클래스 LibNoise.Modifier.Blend

Noise module that outputs a weighted blend of the output values from two source modules given the output value supplied by a control module. - LeftModule outputs one of the values to blend. - RightModule outputs one of the values to blend. - ControlModule is known as the control module. The control module determines the weight of the blending operation. Negative values weigh the blend towards the output value from the LeftModule. Positive values weigh the blend towards the output value from the ReftModule. This noise module uses linear interpolation to perform the blending operation.
상속: SelectorModule, IModule3D
파일 보기 프로젝트 열기: everbytes/LibNoise

보호된 프로퍼티들

프로퍼티 타입 설명
_controlModule IModule
_leftModule IModule
_rightModule IModule

공개 메소드들

메소드 설명
Blend ( )
Blend ( IModule controlModule, IModule rightModule, IModule leftModule )
GetValue ( float x, float y, float z ) : float

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

메소드 상세

Blend() 공개 메소드

public Blend ( )

Blend() 공개 메소드

public Blend ( IModule controlModule, IModule rightModule, IModule leftModule )
controlModule IModule
rightModule IModule
leftModule IModule

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

프로퍼티 상세

_controlModule 보호되어 있는 프로퍼티

The control module
protected IModule _controlModule
리턴 IModule

_leftModule 보호되어 있는 프로퍼티

The left input module
protected IModule _leftModule
리턴 IModule

_rightModule 보호되어 있는 프로퍼티

The right input module
protected IModule _rightModule
리턴 IModule