Description
The HighlightColor
field in the Editor.CurveControlWidget
class represents the color used to highlight the curve control widget in the editor. This field is public and non-static, allowing it to be accessed and modified for each instance of the CurveControlWidget
.
Usage
To use the HighlightColor
field, you can directly access it from an instance of the CurveControlWidget
class. This field can be set to any valid Color
value to change the highlight color of the widget.
Example
// Example of setting the HighlightColor field
// Create an instance of CurveControlWidget
var curveControlWidget = new Editor.CurveControlWidget();
// Set the highlight color to red
curveControlWidget.HighlightColor = Color.Red;
// Access the current highlight color
Color currentHighlightColor = curveControlWidget.HighlightColor;