Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
LibNoise.Modifiers.BiasOutput Class Reference

Module that biases the output of a source module by adding a given value to the output. More...

Inheritance diagram for LibNoise.Modifiers.BiasOutput:
LibNoise.IModule

Public Member Functions

 BiasOutput (IModule sourceModule, double bias)
 Initialises a new instance of the BiasOutput class. More...
 
double GetValue (Vector3d coordinate)
 
double GetValue (Vector3 coordinate)
 
double GetValue (double x, double y, double z)
 Returns the biased output of the source module. More...
 

Properties

double Bias [get, set]
 The value to add to the output. More...
 
IModule SourceModule [get, set]
 The module from which to retrieve noise. More...
 

Detailed Description

Module that biases the output of a source module by adding a given value to the output.

Constructor & Destructor Documentation

LibNoise.Modifiers.BiasOutput.BiasOutput ( IModule  sourceModule,
double  bias 
)
inline

Initialises a new instance of the BiasOutput class.

Parameters
sourceModuleThe module from which to retrieve noise.
biasThe value to add to the output.

Member Function Documentation

double LibNoise.Modifiers.BiasOutput.GetValue ( Vector3d  coordinate)
inline

Implements LibNoise.IModule.

double LibNoise.Modifiers.BiasOutput.GetValue ( Vector3  coordinate)
inline

Implements LibNoise.IModule.

double LibNoise.Modifiers.BiasOutput.GetValue ( double  x,
double  y,
double  z 
)
inline

Returns the biased output of the source module.

Parameters
x
y
z
Returns

Implements LibNoise.IModule.

Property Documentation

double LibNoise.Modifiers.BiasOutput.Bias
getset

The value to add to the output.

IModule LibNoise.Modifiers.BiasOutput.SourceModule
getset

The module from which to retrieve noise.


The documentation for this class was generated from the following file: