Returns true if `s` is approximately zero.
The comparison is done using a tolerance calculation with
Epsilon.
This method is faster than using
IsEqualApprox(Single, Single) with one value as zero.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public static bool IsZeroApprox(
float s
)
Parameters
- s
- Type: SystemSingle
The value to check.
Return Value
Type:
BooleanA bool for whether or not the value is nearly zero.
See Also