Tesla Graphics Engine Documentation (January 2012)
SetLine Method (origin, end, originColor, endColor)
Tesla
►
Tesla.Scene.Shape
►
Line
►
SetLine(Vector3, Vector3, Color, Color)
C#
Sets an start and end point, with colors to form a single line.
Declaration Syntax
C#
public
void
SetLine
(
Vector3
origin
,
Vector3
end
,
Color
originColor
,
Color
endColor
)
Parameters
origin
(
Vector3
)
Starting point
end
(
Vector3
)
Ending point
originColor
(
Color
)
Starting color
endColor
(
Color
)
Ending color
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)