class MAGES::Interaction::LineVisualizer

Overview

Visualizes a ILineRenderable object using a UnityEngine.LineRenderer. More…

class LineVisualizer: public MonoBehaviour
{
public:
    // properties

    ILineRenderable LineRenderable;
    LineRenderer LineRenderer;
    bool ForceDisableRendering;
};

Detailed Documentation

Visualizes a ILineRenderable object using a UnityEngine.LineRenderer.

Properties

ILineRenderable LineRenderable

Gets or sets the line renderable object that will be visualized.

LineRenderer LineRenderer

Gets or sets the line renderer that will be used for visualization.

bool ForceDisableRendering

Gets or sets a value indicating whether the rendering of the line is forced off. A value of true turns the rays off, and a value of true allows the normal flow of rendering.