Wiki > UnityGLDebug > GLDebug

Line class


Class that holds the information for a line. This is a nested class.

Namespace: RotaryHeart.Lib.UnityGLDebug.GLDebug
Assembly: UnityGLDebug (in UnityGLDebug.dll)

Syntax


private class Line

Constructors


Accessibility Level Name Description
public Line(Vector3, Vector3, Color, float, float, bool) Sets the default values for the line to be drawn.

Properties


Accessibility Level Type Name Description
public Vector3 start Start point for the line.
public Vector3 end End point for the line.
public Color color Color that the line is going to be drawn.
public float startTime The time when the line was first drawn.
public float duration How long should the line be drawn.
public bool depthTest Should it use depth test when drawing.

Methods


Accessibility Level Type Name Description
private bool DurationElapsed(bool) Returns how long this line has been drawn and draws it at the same time.

See also