unreal.RigVMFunction_MathDoubleSign

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

Bases: RigVMFunction_MathDoubleUnaryOp

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathDouble.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (double): [Read-Write]

  • value (double): [Read-Write]