Synced
ImGui.DrawCubicCurve
Section titled “ImGui.DrawCubicCurve”
- Draws a cubic curve without exposing a native draw list or borrowed pointer.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”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)Parameters
Section titled “Parameters”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.