A simple 3D line connecting multiple points. More...
| Import Statement: | import Clayground.Canvas3D |
Line3D provides an easy way to draw a single connected line through a series of 3D points. It wraps MultiLine3D for convenience when only a single line path is needed.
Example usage:
import Clayground.Canvas3D Line3D { coords: [ Qt.vector3d(0, 0, 0), Qt.vector3d(100, 50, 0), Qt.vector3d(200, 0, 0) ] color: "blue" width: 2.0 }
See also MultiLine3D and BoxLine3D.
color : color |
The color of the line.
Defaults to black.
coords : vector3d |
List of 3D points defining the line path.
width : real |
The width of the line in world units.
Defaults to 1.