GeneratorsGetIntensityNoise Method |
Get a normalised intensity driven by perlin noise
Namespace:
WeatherSystem.Internal
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic static float GetIntensityNoise(
float x,
float y,
float maxX,
float maxY,
float scale,
float offset
)
Parameters
- x
- Type: SystemSingle
The x position - y
- Type: SystemSingle
The y position - maxX
- Type: SystemSingle
The maximum possible value of x - maxY
- Type: SystemSingle
The maximum possible value of y - scale
- Type: SystemSingle
A scale for the output, applied before the offset value - offset
- Type: SystemSingle
An offset value
Return Value
Type:
SingleThe resultant intensity value between 0 and 1
See Also