unreal.RigVMFunction_MathVectorIsNearlyZero

class unreal.RigVMFunction_MathVectorIsNearlyZero(value: Vector = Ellipsis, tolerance: float = 0.0, result: bool = False)

Bases: RigVMFunction_MathVectorBase

Returns true if each component of the value is within a tolerance of zero

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (bool): [Read-Write] True if the input vector is within Tolerance of zero in each component

  • tolerance (float): [Read-Write] The tolerance to use when comparing each component with zero

  • value (Vector): [Read-Write] The input vector to check

property result: bool

[Read-Only] True if the input vector is within Tolerance of zero in each component

Type:

(bool)

property tolerance: float

[Read-Write] The tolerance to use when comparing each component with zero

Type:

(float)

property value: Vector

[Read-Write] The input vector to check

Type:

(Vector)