LineThe Line item represents a geometric line drawn in 3D space. More... Inherits Item3D This type was introduced in Qt 4.8. Detailed DescriptionThe Line element in QML provides a means of drawing lines in a 3D environment. For example, the following QML code draws a line between point (0,0,0), (1,1,1), then to (-1,-1,-1). Line { vertices: [ 0, 0, 0, 0, 0, 1, 0, 1, 1 ] effect: Effect { color: "#aaca00" } } The Line element is part of the Qt3D.Shapes namespace, so the following must appear at the top of any QML file that references it: import Qt3D.Shapes 1.0 See also Item3D. |