unreal.RigVMFunction_MathFloatLerp

class unreal.RigVMFunction_MathFloatLerp(a: float = 0.0, b: float = 0.0, t: float = 0.0, result: float = 0.0)

Bases: RigVMFunction_MathFloatBase

Linearly interpolates between A and B using the ratio T

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (float): [Read-Write] The first value to interpolate from

  • b (float): [Read-Write] The second value to interpolate to

  • result (float): [Read-Write] The resulting interpolated value

  • t (float): [Read-Write] The blend value for the interpolation

property a: float

[Read-Write] The first value to interpolate from

Type:

(float)

property b: float

[Read-Write] The second value to interpolate to

Type:

(float)

property result: float

[Read-Only] The resulting interpolated value

Type:

(float)

property t: float

[Read-Write] The blend value for the interpolation

Type:

(float)