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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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