C# Class LibNoise.Model.Plane

Model that defines the surface of a plane. This model returns an output value from a noise module given the coordinates of an input value located on the surface of an ( x, z ) plane. To generate an output value, pass the (x, z) coordinates of an input value to the GetValue() method. This model is useful for creating: - two-dimensional textures - terrain height maps for local areas This plane extends infinitely in both directions.
Inheritance: AbstractModel
Datei anzeigen Open project: everbytes/LibNoise Class Usage Examples

Public Methods

Method Description
GetValue ( float x, float z ) : float

Returns the output value from the noise module given the (x, z) coordinates of the specified input value located on the surface of the plane.

Plane ( )

Default constructor

Plane ( IModule module )

Constructor

Method Details

GetValue() public method

Returns the output value from the noise module given the (x, z) coordinates of the specified input value located on the surface of the plane.
public GetValue ( float x, float z ) : float
x float The x coordinate of the input value
z float The z coordinate of the input value
return float

Plane() public method

Default constructor
public Plane ( )

Plane() public method

Constructor
public Plane ( IModule module )
module IModule The noise module that is used to generate the output values