API ReferenceEditor
public sealed struct Editor.KeyEvent
Information about a `Editor.Widget`s keyboard event.
Methods
Showing 1 methods
public string GetButtonCodeName()
No results match this filter.
Properties
Showing 11 properties
public bool Editor.KeyEvent.Accepted { get; set; }
public bool Editor.KeyEvent.HasAlt { get; set; }
public bool Editor.KeyEvent.HasCtrl { get; set; }
public bool Editor.KeyEvent.HasShift { get; set; }
public bool Editor.KeyEvent.IsAutoRepeat { get; set; }
Whether this key event was generated by keyboard auto-repeat.
public Sandbox.KeyboardModifiers Editor.KeyEvent.KeyboardModifiers { get; set; }
public string Editor.KeyEvent.Name { get; set; }
The name of the key that triggered this event.
public uint Editor.KeyEvent.NativeKeyCode { get; set; }
OS specific key code that triggered this event.
public uint Editor.KeyEvent.NativeScanCode { get; set; }
The native scan code.
public string Editor.KeyEvent.Text { get; set; }
Text the `Editor.KeyEvent.Key` would type in a text field.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.KeyEvent |