Click or drag to resize
MathUtilsSaturate Method
Clamps the passed value to 0...1.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static float Saturate(
	float value
)

Parameters

value
Type: SystemSingle
Value to saturate.

Return Value

Type: Single
Clamped value.
See Also