C# Класс LibNoise.Operator.Curve

Provides a noise module that maps the output value from a source module onto an arbitrary function curve. [OPERATOR]
Наследование: ModuleBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( float input, float output ) : void

Adds a control point to the curve.

Clear ( ) : void

Clears the control points.

Curve ( ) : System

Initializes a new instance of Curve.

Curve ( ModuleBase input ) : System

Initializes a new instance of Curve.

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

Returns the output value for the given input coordinates.

Описание методов

Add() публичный Метод

Adds a control point to the curve.
public Add ( float input, float output ) : void
input float The curves input value.
output float The curves output value.
Результат void

Clear() публичный Метод

Clears the control points.
public Clear ( ) : void
Результат void

Curve() публичный Метод

Initializes a new instance of Curve.
public Curve ( ) : System
Результат System

Curve() публичный Метод

Initializes a new instance of Curve.
public Curve ( ModuleBase input ) : System
input ModuleBase The input module.
Результат 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