Class MouseEventBase<T>
  
  
  
  
    Inheritance
    
    
    
    MouseEventBase<T>
      
      
      
      
      
      
      
      
      
      
      
      
      
   
  
  
  
  Assembly: UnityEngine.dll
  Syntax
  
    public abstract class MouseEventBase<T> : EventBase<T>, IDisposable, IMouseEvent, IMouseEventInternal where T : MouseEventBase<T>, new()
   
  Type Parameters
  
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MouseEventBase()
  
  
  Declaration
  
    protected MouseEventBase()
   
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  actionKey
  
  
  Declaration
  
    public bool actionKey { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  altKey
  
  
  Declaration
  
    public bool altKey { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public int button { get; protected set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  clickCount
  
  
  Declaration
  
    public int clickCount { get; protected set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  commandKey
  
  
  Declaration
  
    public bool commandKey { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ctrlKey
  
  
  Declaration
  
    public bool ctrlKey { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  currentTarget
  
  
  Declaration
  
    public override IEventHandler currentTarget { get; }
   
  Property Value
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  localMousePosition
  
  
  Declaration
  
    public Vector2 localMousePosition { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  modifiers
  
  
  Declaration
  
    public EventModifiers modifiers { get; protected set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  mouseDelta
  
  
  Declaration
  
    public Vector2 mouseDelta { get; protected set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  mousePosition
  
  
  Declaration
  
    public Vector2 mousePosition { get; protected set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  shiftKey
  
  
  Declaration
  
    public bool shiftKey { get; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetPooled(Event)
  
  
  Declaration
  
    public static T GetPooled(Event systemEvent)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Event | systemEvent |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetPooled(IMouseEvent)
  
  
  Declaration
  
    public static T GetPooled(IMouseEvent triggerEvent)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetPooled(Vector2)
  
  
  Declaration
  
    public static T GetPooled(Vector2 mousePosition)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector2 | mousePosition |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Init()
  
  
  Declaration
  
    protected override void Init()
   
  Overrides
  UnityEngine.Experimental.UIElements.EventBase<T>.Init()
  Implements
  
  
  Extension Methods