Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a cubic curve without exposing a native draw list or borrowed pointer.

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

public static void InnoEditor.ImGui.ImGui.DrawCubicCurve(System.Numerics.Vector2 start, System.Numerics.Vector2 firstControl, System.Numerics.Vector2 secondControl, System.Numerics.Vector2 end, uint color, float thickness = 1)

Parameter start: The first screen-space endpoint.

Parameter firstControl: The control point beside the first endpoint.

Parameter secondControl: The control point beside the final endpoint.

Parameter end: The final screen-space endpoint.

Parameter color: The packed presentation color.

Parameter thickness: The positive stroke width.