Description
The ControlRadius
field in the Editor.ControlWidget
class represents the radius of the control widget. This field is a static and public member, meaning it is shared across all instances of the class and can be accessed without creating an instance of ControlWidget
. The field is of type System.Single
, which is a floating-point number.
Usage
Use the ControlRadius
field to define or retrieve the radius of the control widget. This can be useful when you need to adjust the size of the control widget in the editor or when you want to ensure consistency across different control widgets.
Example
// Accessing the ControlRadius field
float radius = Editor.ControlWidget.ControlRadius;
// Setting the ControlRadius field
Editor.ControlWidget.ControlRadius = 10.0f;