Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Linearly interpolates two palette colors using a clamped amount.

API: engine
Project: Inno.Editor.ImGui

public static System.Numerics.Vector4 Inno.Editor.ImGui.EditorPalette.Lerp(System.Numerics.Vector4 from, System.Numerics.Vector4 to, float amount)

Parameter from: The color returned when amount is zero.

Parameter to: The color returned when amount is one.

Parameter amount: The interpolation amount, clamped to the inclusive zero-to-one range.

The component-wise interpolated color.