 | PerlinNoiseCompute Method (Double, Double) |
Computes a noise value for a 2D position given by (x, y).
Namespace: DigitalRune.Mathematics.StatisticsAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic static double Compute(
double x,
double y
)
Public Shared Function Compute (
x As Double,
y As Double
) As Double
public:
static double Compute(
double x,
double y
)
static member Compute :
x : float *
y : float -> float
Parameters
- x
- Type: SystemDouble
The x position. - y
- Type: SystemDouble
The y position.
Return Value
Type:
DoubleThe noise value for the given position (x, y).
Remarks
See Also