Tesla Graphics Engine Documentation (January 2012)
Line Constructor (name, points, colors)
TeslaTesla.Scene.ShapeLineLine(String, DataBuffer<(Of <<'(Vector3>)>>), DataBuffer<(Of <<'(Color>)>>))
Creates a new line with the specified points and colors. The points represent a line list, thus every two points creates a line.
Declaration Syntax
C#
public Line(
	string name,
	DataBuffer<Vector3> points,
	DataBuffer<Color> colors
)
Parameters
name (String)
Name of the line
points (DataBuffer<(Of <(<'Vector3>)>)>)
Points to use
colors (DataBuffer<(Of <(<'Color>)>)>)
Colors to use

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)