C# Class LibNoise.Primitive.Checkerboard

Noise module that outputs a checkerboard pattern. This noise module outputs unit-sized blocks of alternating values. The values of these blocks alternate between -1.0 and +1.0. This noise module is not really useful by itself, but it is often used for debugging purposes.
Inheritance: PrimitiveModule, IModule3D
Show file Open project: everbytes/LibNoise

Public Methods

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

Generates an output value given the coordinates of the specified input value.

Method Details

GetValue() public method

Generates an output value given the coordinates of the specified input value.
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.
return float