unreal.RigVMFunction_MathFloatOneMinus

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

Bases: RigVMFunction_MathFloatUnaryOp

Returns one minus the input value (1 - x). Commonly used for inverting normalized values such as blend weights.

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (float): [Read-Write] The result of the operation

  • value (float): [Read-Write] The input value