unreal.RigVMFunction_MathDoubleOneMinus

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

Bases: RigVMFunction_MathDoubleUnaryOp

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_MathDouble.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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