Documentation

UI::DrawList::AddBezierCubic

Method in DrawList

void AddBezierCubic(const vec2&in p1, const vec2&in p2, const vec2&in p3, const vec2&in p4, const vec4&in color, float thickness = 1.0f, int segments = 0)

Draws a line following a cubic bezier curve.

vec2 p1

vec2 p2

vec2 p3

vec2 p4

vec4 color

float thickness

int segments