Class AnchorPresetsEditor.AnchorPresetsEditorPopup
Context menu for anchors presets editing.
Inheritance
System.Object
FlaxEditor.GUI.ContextMenu.ContextMenuBase
AnchorPresetsEditor.AnchorPresetsEditorPopup
Implements
System.IComparable
Namespace: FlaxEditor.CustomEditors.Dedicated
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class AnchorPresetsEditorPopup : ContextMenuBase, IComparable, IDrawable
Constructors
AnchorPresetsEditorPopup(AnchorPresets, Boolean)
Initializes a new instance of the AnchorPresetsEditor.AnchorPresetsEditorPopup class.
Declaration
public AnchorPresetsEditorPopup(AnchorPresets presets, bool supportsShiftModulation = true)
Parameters
AnchorPresets
presets
The initial value. |
System.Boolean
supportsShiftModulation
If the popup should react to shift |
Methods
Hide()
Declaration
public override void Hide()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.Hide()
OnKeyDown(KeyboardKeys)
Declaration
public override bool OnKeyDown(KeyboardKeys key)
Parameters
KeyboardKeys
key
|
Returns
System.Boolean
|
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnKeyDown(FlaxEngine.KeyboardKeys)
OnShow()
Declaration
protected override void OnShow()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnShow()
Extension Methods
See Also
FlaxEditor.GUI.ContextMenu.ContextMenuBase