Show / Hide Table of Contents

Class KeyboardEventBase<T>

Inheritance
Object
EventBase
EventBase<T>
KeyboardEventBase<T>
KeyDownEvent
KeyUpEvent
Implements
IDisposable
IKeyboardEvent
Inherited Members
EventBase<T>.TypeId()
EventBase<T>.GetPooled()
EventBase<T>.Dispose()
EventBase<T>.GetEventTypeId()
EventBase.RegisterEventType()
EventBase.timestamp
EventBase.flags
EventBase.PreDispatch()
EventBase.PostDispatch()
EventBase.bubbles
EventBase.capturable
EventBase.tricklesDown
EventBase.target
EventBase.isPropagationStopped
EventBase.StopPropagation()
EventBase.isImmediatePropagationStopped
EventBase.StopImmediatePropagation()
EventBase.isDefaultPrevented
EventBase.PreventDefault()
EventBase.propagationPhase
EventBase.m_CurrentTarget
EventBase.currentTarget
EventBase.dispatch
EventBase.imguiEvent
EventBase.originalMousePosition
EventBase.pooled
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.UIElements
Assembly: UnityEngine.dll
Syntax
public abstract class KeyboardEventBase<T> : EventBase<T>, IDisposable, IKeyboardEvent where T : KeyboardEventBase<T>, new()
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

KeyboardEventBase()

Declaration
protected KeyboardEventBase()

Properties

| Improve this Doc View Source

actionKey

Declaration
public bool actionKey { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

altKey

Declaration
public bool altKey { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

character

Declaration
public char character { get; protected set; }
Property Value
Type Description
Char
| Improve this Doc View Source

commandKey

Declaration
public bool commandKey { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

ctrlKey

Declaration
public bool ctrlKey { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

keyCode

Declaration
public KeyCode keyCode { get; protected set; }
Property Value
Type Description
KeyCode
| Improve this Doc View Source

modifiers

Declaration
public EventModifiers modifiers { get; protected set; }
Property Value
Type Description
EventModifiers
| Improve this Doc View Source

shiftKey

Declaration
public bool shiftKey { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

GetPooled(Char, KeyCode, EventModifiers)

Declaration
public static T GetPooled(char c, KeyCode keyCode, EventModifiers modifiers)
Parameters
Type Name Description
Char c
KeyCode keyCode
EventModifiers modifiers
Returns
Type Description
T
| Improve this Doc View Source

GetPooled(Event)

Declaration
public static T GetPooled(Event systemEvent)
Parameters
Type Name Description
Event systemEvent
Returns
Type Description
T
| Improve this Doc View Source

Init()

Declaration
protected override void Init()
Overrides
UnityEngine.Experimental.UIElements.EventBase<T>.Init()

Implements

System.IDisposable
IKeyboardEvent

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX