C# Class LibNoise.Operator.Curve

Provides a noise module that maps the output value from a source module onto an arbitrary function curve. [OPERATOR]
Inheritance: ModuleBase
Afficher le fichier Open project: simonwittber/LibNoise-Unity Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

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.
Résultat void

Clear() public méthode

Clears the control points.
public Clear ( ) : void
Résultat void

Curve() public méthode

Initializes a new instance of Curve.
public Curve ( ) : System
Résultat System

Curve() public méthode

Initializes a new instance of Curve.
public Curve ( ModuleBase input ) : System
input ModuleBase The input module.
Résultat System

GetValue() public méthode

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.
Résultat float