Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Adds a line to the current window draw list.

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

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

Parameter start: The screen-space start point.

Parameter end: The screen-space end point.

Parameter color: The packed ImGui color.

Parameter thickness: The line thickness.