FloatComparer
Creates an instance of the comparer.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前
Definition
- Type: Constructor
- Namespace: UnityEngine.Assertions.Comparers
- Assembly: UnityEngine.CoreModule
FloatComparer()
Creates an instance of the comparer.
public FloatComparer()
FloatComparer(bool)
Creates an instance of the comparer.
public FloatComparer(bool relative)
Parameters
Should a relative check be used when comparing values? By default, an absolute check will be used.
FloatComparer(float)
Creates an instance of the comparer.
public FloatComparer(float error)
Parameters
Allowed comparison error. By default, the FloatComparer.kEpsilon is used.
FloatComparer(float, bool)
Creates an instance of the comparer.
public FloatComparer(float error, bool relative)
Parameters
Allowed comparison error. By default, the FloatComparer.kEpsilon is used.
Should a relative check be used when comparing values? By default, an absolute check will be used.