Click or drag to resize

GeneratorsGetHumidityValue Method

Gets a perlin noise driven normalised humidity value

Namespace:  WeatherSystem.Internal
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static float GetHumidityValue(
	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: Single
The resultant humidityvalue
See Also