Generates a merged cylinder mesh from start/end point pairs, radii, and colors, then renders it.
Usage
render_lines(
from,
to,
radii = 0.1,
colors,
camera,
options = render_options(),
segments = 12L
)Arguments
- from
Nx3 numeric matrix of segment start points.
- to
Nx3 numeric matrix of segment end points.
- radii
Numeric vector of cylinder radii (length N, or 1 recycled to N).
- colors
Nx4 numeric matrix of RGBA colours, or a single colour recycled to N.
- camera
A camera list.
- options
Render options.
- segments
Number of sides around the cylinder (default 12).