Line

Construct a drawable line structure.

Line in Lightact's Layer Layouts visual scripting system.
Screenshot of Line node.

Inputs

TypeNameDescription
Vec2Pair of float values
P1A pair of float values
Vec2Pair of float values
P2A pair of float values
ColorValue represented by four channels - each ranging from 0 to 255
ColorA color data structure
FloatStores floating-point value
ThicknessA float value

Outputs

TypeNameDescription
2d drawable element2d drawable element structure
OutputReturns a 3d element data structure