Class PhysicsUtils
Namespace: Unity.UIWidgets.physics
Syntax
public class PhysicsUtils
Methods
nearEqual(Nullable<Single>, Nullable<Single>, Single)
Declaration
public static bool nearEqual(float? a, float? b, float epsilon)
Parameters
Type | Name | Description |
---|---|---|
Nullable<Single> | a | |
Nullable<Single> | b | |
Single | epsilon |
Returns
Type | Description |
---|---|
Boolean |
nearZero(Nullable<Single>, Single)
Declaration
public static bool nearZero(float? a, float epsilon)
Parameters
Type | Name | Description |
---|---|---|
Nullable<Single> | a | |
Single | epsilon |
Returns
Type | Description |
---|---|
Boolean |