drawBezier(opt: DrawBezierOpt): void
Draw a cubic Bezier curve.drawBezier({ pt1: vec2(100, 100), pt2: vec2(200, 100), pt3: vec2(200, 200), pt4: vec2(100, 200), width: 2, color: GREEN })
drawBezier({ pt1: vec2(100, 100), pt2: vec2(200, 100), pt3: vec2(200, 200), pt4: vec2(100, 200), width: 2, color: GREEN })
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings