unreal.RigVMFunction_MathFloatIsNearlyEqual

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

Bases: RigVMFunction_MathFloatBase

Returns true if the value A is almost equal to B

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (float): [Read-Write]

  • b (float): [Read-Write]

  • result (bool): [Read-Write]

  • tolerance (float): [Read-Write]

property a: float

[Read-Write]

Type:

(float)

property b: float

[Read-Write]

Type:

(float)

property result: bool

[Read-Only]

Type:

(bool)

property tolerance: float

[Read-Write]

Type:

(float)