Show / Hide Table of Contents

Class MouseEventBase<T>

Inheritance
Object
EventBase
EventBase<T>
MouseEventBase<T>
ContextClickEvent
ContextualMenuPopulateEvent
DragAndDropEventBase<T>
MouseDownEvent
MouseEnterEvent
MouseEnterWindowEvent
MouseLeaveEvent
MouseLeaveWindowEvent
MouseMoveEvent
MouseOutEvent
MouseOverEvent
MouseUpEvent
WheelEvent
Implements
IDisposable
IMouseEvent
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.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 MouseEventBase<T> : EventBase<T>, IDisposable, IMouseEvent, IMouseEventInternal where T : MouseEventBase<T>, new()
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

MouseEventBase()

Declaration
protected MouseEventBase()

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

button

Declaration
public int button { get; protected set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

clickCount

Declaration
public int clickCount { get; protected set; }
Property Value
Type Description
Int32
| 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

currentTarget

Declaration
public override IEventHandler currentTarget { get; }
Property Value
Type Description
IEventHandler
Overrides
EventBase.currentTarget
| Improve this Doc View Source

localMousePosition

Declaration
public Vector2 localMousePosition { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

modifiers

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

mouseDelta

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

mousePosition

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

shiftKey

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

Methods

| 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

GetPooled(IMouseEvent)

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

GetPooled(Vector2)

Declaration
public static T GetPooled(Vector2 mousePosition)
Parameters
Type Name Description
Vector2 mousePosition
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
IMouseEvent

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