unreal.RigVMFunction_MathFloatSign

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

Bases: RigVMFunction_MathFloatUnaryOp

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (float): [Read-Write]

  • value (float): [Read-Write]