C# 클래스 LibNoise.Operator.Displace

Provides a noise module that uses three source modules to displace each coordinate of the input value before returning the output value from a source module. [OPERATOR]
상속: ModuleBase
파일 보기 프로젝트 열기: simonwittber/LibNoise-Unity 1 사용 예제들

공개 메소드들

메소드 설명
Displace ( ) : System

Initializes a new instance of Displace.

Displace ( ModuleBase input, ModuleBase x, ModuleBase y, ModuleBase z ) : System

Initializes a new instance of Displace.

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

Returns the output value for the given input coordinates.

메소드 상세

Displace() 공개 메소드

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

Displace() 공개 메소드

Initializes a new instance of Displace.
public Displace ( ModuleBase input, ModuleBase x, ModuleBase y, ModuleBase z ) : System
input ModuleBase The input module.
x ModuleBase The displacement module of the x-axis.
y ModuleBase The displacement module of the y-axis.
z ModuleBase The displacement module of the z-axis.
리턴 System

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