Interface LineSink
- All Superinterfaces:
MeshSink
Takes line segments. Each segment becomes a quad that faces the screen and is its width in framebuffer pixels wide
at any distance, with an anti-aliased edge one pixel across. Ends are square and stop at the end points. A segment
that crosses the near plane is clipped to it; one entirely behind the camera draws nothing.
-
Method Summary
-
Method Details
-
line
Writes one segment.- Parameters:
x0- start xy0- start yz0- start zx1- end xy1- end yz1- end zargb- the colour,0xAARRGGBBwidth- the width in framebuffer pixels; below 1 it draws one pixel wide and fades instead- Returns:
- this sink
-
transform
-