$lerp static method

$Value? $lerp(
  1. Runtime runtime,
  2. $Value? target,
  3. List<$Value?> args
)

Implementation

static $Value? $lerp(Runtime runtime, $Value? target, List<$Value?> args) {
  final result = Alignment.lerp(
    args[0]?.$value,
    args[1]?.$value,
    args[2]?.$value,
  );
  return result == null ? const $null() : $Alignment.wrap(result);
}