Provides a noise module that rotates the input value around the origin before returning the output value from a source module. [OPERATOR]
More...
|
| Rotate () |
| Initializes a new instance of Rotate. More...
|
|
| Rotate (double x, double y, double z, ModuleBase input) |
| Initializes a new instance of Rotate. More...
|
|
override double | GetValue (double x, double y, double z) |
| Returns the output value for the given input coordinates. More...
|
|
double | GetValue (Vector3 coordinate) |
| Returns the output value for the given input coordinates. More...
|
|
double | GetValue (ref Vector3 coordinate) |
| Returns the output value for the given input coordinates. More...
|
|
void | Dispose () |
| Immediately releases the unmanaged resources used by this object. More...
|
|
|
double | X [get, set] |
| Gets or sets the rotation around the x-axis in degree. More...
|
|
double | Y [get, set] |
| Gets or sets the rotation around the y-axis in degree. More...
|
|
double | Z [get, set] |
| Gets or sets the rotation around the z-axis in degree. More...
|
|
virtual ModuleBase | this[int index] [get, set] |
| Gets or sets a source module by index. More...
|
|
int | SourceModuleCount [get] |
| Gets the number of source modules required by this noise module. More...
|
|
bool | IsDisposed [get] |
| Gets a value whether the object is disposed. More...
|
|
Provides a noise module that rotates the input value around the origin before returning the output value from a source module. [OPERATOR]
LibNoise.Operator.Rotate.Rotate |
( |
| ) |
|
Initializes a new instance of Rotate.
LibNoise.Operator.Rotate.Rotate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
ModuleBase |
input |
|
) |
| |
Initializes a new instance of Rotate.
- Parameters
-
x | The rotation around the x-axis. |
y | The rotation around the y-axis. |
z | The rotation around the z-axis. |
input | The input module. |
override double LibNoise.Operator.Rotate.GetValue |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
virtual |
Returns the output value for the given input coordinates.
- Parameters
-
x | The input coordinate on the x-axis. |
y | The input coordinate on the y-axis. |
z | The input coordinate on the z-axis. |
- Returns
- The resulting output value.
Implements LibNoise.ModuleBase.
double LibNoise.Operator.Rotate.X |
|
getset |
Gets or sets the rotation around the x-axis in degree.
double LibNoise.Operator.Rotate.Y |
|
getset |
Gets or sets the rotation around the y-axis in degree.
double LibNoise.Operator.Rotate.Z |
|
getset |
Gets or sets the rotation around the z-axis in degree.
The documentation for this class was generated from the following file: