API ReferenceEditor
KeyEventclass
Information about a `Editor.Widget`s keyboard event.
object→KeyEvent
Methods1
Showing 1 methods
public string GetButtonCodeName()
Returns:
string—No results match this filter.
Properties11
Showing 11 properties
public bool Editor.KeyEvent.Accepted { get; set; }
Returns:
bool—public bool Editor.KeyEvent.HasAlt { get; set; }
Returns:
bool—public bool Editor.KeyEvent.HasCtrl { get; set; }
Returns:
bool—public bool Editor.KeyEvent.HasShift { get; set; }
Returns:
bool—public bool Editor.KeyEvent.IsAutoRepeat { get; set; }
Whether this key event was generated by keyboard auto-repeat.
Returns:
bool—public Sandbox.KeyboardModifiers Editor.KeyEvent.KeyboardModifiers { get; set; }
public string Editor.KeyEvent.Name { get; set; }
The name of the key that triggered this event.
Returns:
string—public uint Editor.KeyEvent.NativeKeyCode { get; set; }
OS specific key code that triggered this event.
Returns:
uint—public uint Editor.KeyEvent.NativeScanCode { get; set; }
The native scan code.
Returns:
uint—public string Editor.KeyEvent.Text { get; set; }
Text the `Editor.KeyEvent.Key` would type in a text field.
Returns:
string—No results match this filter.