unreal.RigUnit_MathDoubleIsNearlyEqual

class unreal.RigUnit_MathDoubleIsNearlyEqual(a: float = 0.0, b: float = 0.0, tolerance: float = 0.0, result: bool = False)

Bases: RigUnit_MathDoubleBase

Returns true if the value A is almost equal to B

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathDouble.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (double): [Read-Write] A

  • b (double): [Read-Write] B

  • result (bool): [Read-Write] Result

  • tolerance (double): [Read-Write] Tolerance

property a: float

[Read-Write] A

Type:

(double)

property b: float

[Read-Write] B

Type:

(double)

property result: bool

[Read-Only] Result

Type:

(bool)

property tolerance: float

[Read-Write] Tolerance

Type:

(double)