unreal.RigVMFunction_MathDoubleIsNearlyEqual

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

Bases: RigVMFunction_MathDoubleBase

Returns true if the value A is almost equal to B

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathDouble.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (double): [Read-Write] The first value to compare

  • b (double): [Read-Write] The second value to compare

  • result (bool): [Read-Write] True if the value A is almost equal to B

  • tolerance (double): [Read-Write] The tolerance to apply for the comparison

property a: float

[Read-Write] The first value to compare

Type:

(double)

property b: float

[Read-Write] The second value to compare

Type:

(double)

property result: bool

[Read-Only] True if the value A is almost equal to B

Type:

(bool)

property tolerance: float

[Read-Write] The tolerance to apply for the comparison

Type:

(double)