Interface IOperator
Syntax
public interface IOperator
Properties
Label
Human-readable label for the operator.
Declaration
Property Value
OperatorName
Declaration
string OperatorName { get; }
Property Value
Methods
Clone()
Declaration
Returns
Enable(Boolean)
Declaration
Parameters
Type |
Name |
Description |
Boolean |
enable |
|
Enabled()
Declaration
Returns
GetCanvasView()
Declaration
VisualElement GetCanvasView()
Returns
GetOperatorData()
Declaration
OperatorData GetOperatorData()
Returns
GetOperatorView(Model)
Declaration
VisualElement GetOperatorView(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
GetSettingsView()
Get the settings view for this operator.
Declaration
VisualElement GetSettingsView()
Returns
Type |
Description |
VisualElement |
UI for the operator. Set to Null if the operator should not be displayed in the settings view. Disable the returned VisualElement if you want it to be displayed but not usable.
|
IsSavable()
Declaration
Returns
RegisterToEvents(Model)
Declaration
void RegisterToEvents(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
SetOperatorData(OperatorData)
Declaration
void SetOperatorData(OperatorData data)
Parameters
UnregisterFromEvents(Model)
Declaration
void UnregisterFromEvents(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|