unreal.RigUnit_MathIntSign

class unreal.RigUnit_MathIntSign(value: int = 0, result: int = 0)

Bases: RigUnit_MathIntUnaryOp

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

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathInt.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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