C# 클래스 LibNoise.Operator.Rotate

Provides a noise module that rotates the input value around the origin before returning the output value from a source module. [OPERATOR]
상속: ModuleBase
파일 보기 프로젝트 열기: simonwittber/LibNoise-Unity 1 사용 예제들

공개 메소드들

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

Returns the output value for the given input coordinates.

Rotate ( ) : System

Initializes a new instance of Rotate.

Rotate ( float x, float y, float z, ModuleBase input ) : System

Initializes a new instance of Rotate.

비공개 메소드들

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

Sets the rotation angles.

메소드 상세

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

Rotate() 공개 메소드

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

Rotate() 공개 메소드

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