unreal.RigVMFunction_MathFloatIsNearlyZero

class unreal.RigVMFunction_MathFloatIsNearlyZero(value: float = 0.0, tolerance: float = 0.0, result: bool = False)

Bases: RigVMFunction_MathFloatBase

Returns true if the value is nearly zero

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (bool): [Read-Write] True if the value is nearly zero

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

  • value (float): [Read-Write] The input value to compare

property result: bool

[Read-Only] True if the value is nearly zero

Type:

(bool)

property tolerance: float

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

Type:

(float)

property value: float

[Read-Write] The input value to compare

Type:

(float)