Description
The SelectedColor
property is a static member of the Editor.NodeEditor.Connection
class. It represents the color used to highlight or indicate a selected connection within the node editor interface. This property is of type Color
, which is typically used to define colors in RGBA format.
Usage
To use the SelectedColor
property, you can directly access it through the Connection
class since it is a static property. This property can be used to get or set the color that should be used to visually indicate a selected connection in the node editor.
Example
// Example of setting the SelectedColor property
Editor.NodeEditor.Connection.SelectedColor = new Color(1.0f, 0.5f, 0.0f, 1.0f); // Sets the color to orange
// Example of getting the SelectedColor property
Color currentSelectedColor = Editor.NodeEditor.Connection.SelectedColor;
// Use currentSelectedColor as needed