AC.GLLineCtrl

AgentComponent_VLabGLLineCtrl

    /// <summary>
    /// 初始化GL画线组件
    /// 线条没有粗细
    /// </summary>
    public void InitSingleLine()

    /// <summary>
    /// 初始化GL画线组件
    /// 线条有粗细,有立体感
    /// </summary>
    /// <param name="radius">粗细</param>
    /// <param name="smooth">线条表面圆滑度,使用默认值20即可</param>
    public void InitThickLine(float radius, int smooth = 20)

    /// <summary>
    /// 设置线条颜色
    /// </summary>
    /// <param name="color">颜色</param>
    public void SetColor(Color color)

    /// <summary>
    /// 添加线条上的关键点
    /// 将这些点按顺序连成线
    /// </summary>
    /// <param name="point">坐标点</param>
    public void AddPoint(Vector3 point)

    /// <summary>
    /// 清除线条上的点
    /// </summary>
    public void Clear()

    /// <summary>
    /// 显示或隐藏线条
    /// </summary>
    /// <param name="isShow"></param>
    public void ShowLine(bool isShow)

    /// <summary>
    /// 设置线条为世界坐标还是本地坐标
    /// </summary>
    /// <param name="isLocal">为true表示本地坐标</param>
    public void SetLocal(bool isLocal)