unreal.RigUnit_MathFloatSign

class unreal.RigUnit_MathFloatSign(value: float = 0.0, result: float = 0.0)

Bases: RigUnit_MathFloatUnaryOp

Returns the sign of the value (+1 for >= 0.f, -1 for < 0.f)

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • value (float): [Read-Write] Value