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.Add Class Reference

Module that returns the output of two source modules added together. More...

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

Public Member Functions

 Add (IModule sourceModule1, IModule sourceModule2)
 Initialises a new instance of the Add class. More...
 
double GetValue (Vector3d coordinate)
 
double GetValue (Vector3 coordinate)
 
double GetValue (double x, double y, double z)
 Returns the output of the two source modules added together. More...
 

Properties

IModule SourceModule1 [get, set]
 The first module from which to retrieve noise. More...
 
IModule SourceModule2 [get, set]
 The second module from which to retrieve noise. More...
 

Detailed Description

Module that returns the output of two source modules added together.

Constructor & Destructor Documentation

LibNoise.Modifiers.Add.Add ( IModule  sourceModule1,
IModule  sourceModule2 
)
inline

Initialises a new instance of the Add class.

Parameters
sourceModule1The first module from which to retrieve noise.
sourceModule2The second module from which to retrieve noise.

Member Function Documentation

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

Implements LibNoise.IModule.

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

Implements LibNoise.IModule.

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

Returns the output of the two source modules added together.

Implements LibNoise.IModule.

Property Documentation

IModule LibNoise.Modifiers.Add.SourceModule1
getset

The first module from which to retrieve noise.

IModule LibNoise.Modifiers.Add.SourceModule2
getset

The second module from which to retrieve noise.


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