Click or drag to resize

MathUtilsFloatInRange Method

Checks if a floating point Value is within a specified range of values (inclusive).

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static bool FloatInRange(
	float value,
	float min,
	float max
)

Parameters

value
Type: SystemSingle
The Value to check.
min
Type: SystemSingle
The minimum Value.
max
Type: SystemSingle
The maximum Value.

Return Value

Type: Boolean
True if the Value is within the range specified, false otherwise.
See Also