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

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public static System.Numerics.Vector4 InnoEditor.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.