drawLine(opt: DrawLineOpt): void
Draw a line.
param
opt- The draw line options.
drawLine({ p1: vec2(0), p2: mousePos(), width: 4, color: rgb(0, 0, 255), });
since
v3000.0
Draw a line.
param
opt- The draw line options.
drawLine({ p1: vec2(0), p2: mousePos(), width: 4, color: rgb(0, 0, 255), });
since
v3000.0
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Layer
Camera
Level
Plugins
Button Bindings