unreal.RigVMFunction_MathIntSign

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

Bases: RigVMFunction_MathIntUnaryOp

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathInt.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (int32): [Read-Write]

  • value (int32): [Read-Write]