Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Linearly interpolates between two values without clamping the amount.

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public static float InnoEngine.Mathematics.MathHelper.LerpUnclamped(float value1, float value2, float amount)

Parameter value1: The value1 consumed by lerp unclamped; ownership remains with the caller unless explicitly stated otherwise.

Parameter value2: The value2 consumed by lerp unclamped; ownership remains with the caller unless explicitly stated otherwise.

Parameter amount: The amount consumed by lerp unclamped; ownership remains with the caller unless explicitly stated otherwise.

The scalar result calculated from the supplied inputs.