Documentation / Node reference / mat nodes

mat/Polyline

Creates a material that draws wide lines with joined corners.

Line

Draws the edges of the input as lines of a set width, with mitred corners. A point colour attribute multiplies the colour, and a width attribute multiplies the width.

Parameters

Name Type What it does
color Color Material colour.
width Float Line width, in pixels.
miterLimit Float Miter length limit, in widths. Sharper corners are bevelled.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.