class MAGES::SceneGraph::Editor::Error

Overview

Error class for scenegraph. More…

class Error
{
public:
    // properties

    string Message;
    GraphElement[] Nodes;

    // methods

    Error(string message, Color color, GraphElement[] nodes);
};

Detailed Documentation

Error class for scenegraph.

Properties

string Message

Gets the message to display.

GraphElement[] Nodes

Gets the nodes that produced this error.

Methods

Error(string message, Color color, GraphElement[] nodes)

Initializes a new instance of the Error class.

Parameters:

message

Message to display.

color

The color of the highlighted nodes.

nodes

The array of nodes to highlight with that color.