Model that maps the output of a module onto a line.
More...
|
double | GetValue (double p) |
| Returns noise mapped to the given point along the length of the line. More...
|
|
| Line (IModule sourceModule) |
| Initialises a new instance of the Line class. More...
|
|
void | SetEndPoint (double x, double y, double z) |
| Sets the end point of the line in 3D space. More...
|
|
void | SetStartPoint (double x, double y, double z) |
| Sets the start point of the line in 3D space. More...
|
|
|
bool | Attenuate [get, set] |
| Specifies whether to attenuate the noise. If true, the noise will approach 0.0 as the ends of the line are approached. More...
|
|
IModule | SourceModule [get, set] |
| The module from which to retrieve noise. More...
|
|
Model that maps the output of a module onto a line.
LibNoise.Models.Line.Line |
( |
IModule |
sourceModule | ) |
|
|
inline |
Initialises a new instance of the Line class.
- Parameters
-
sourceModule | The module from which to retrieve noise. |
double LibNoise.Models.Line.GetValue |
( |
double |
p | ) |
|
|
inline |
Returns noise mapped to the given point along the length of the line.
void LibNoise.Models.Line.SetEndPoint |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Sets the end point of the line in 3D space.
void LibNoise.Models.Line.SetStartPoint |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Sets the start point of the line in 3D space.
bool LibNoise.Models.Line.Attenuate |
|
getset |
Specifies whether to attenuate the noise. If true, the noise will approach 0.0 as the ends of the line are approached.
IModule LibNoise.Models.Line.SourceModule |
|
getset |
The module from which to retrieve noise.
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/LibNoise/Models/Line.cs