unreal.RigVMFunction_MathFloatNegate

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

Bases: RigVMFunction_MathFloatUnaryOp

Returns the negative value

C++ Source:

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (float): [Read-Write]

  • value (float): [Read-Write]