Coherent UI for Unity3D  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.MouseEventData Class Reference

A mouse event. More...

Inherits IDisposable.

Properties

MouseEventData.EventType Type [get, set]
 The type of the event. More...
 
MouseEventData.MouseButton Button [get, set]
 The mouse button that triggered the event. More...
 
int X [get, set]
 The X position of the mouse in pixels in the space of the view. More...
 
int Y [get, set]
 The Y position of the mouse in pixels in the space of the view. More...
 
float WheelX [get, set]
 Scroll Delta X in wheel ticks. Positive numbers mean scrolling left. More...
 
float WheelY [get, set]
 Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up. More...
 
EventModifiersState Modifiers [get, set]
 Key modifiers. More...
 
EventMouseModifiersState MouseModifiers [get, set]
 Mouse modifiers. More...
 

Detailed Description

A mouse event.

Property Documentation

MouseEventData.MouseButton Coherent.UI.MouseEventData.Button
getset

The mouse button that triggered the event.

EventModifiersState Coherent.UI.MouseEventData.Modifiers
getset

Key modifiers.

EventMouseModifiersState Coherent.UI.MouseEventData.MouseModifiers
getset

Mouse modifiers.

MouseEventData.EventType Coherent.UI.MouseEventData.Type
getset

The type of the event.

float Coherent.UI.MouseEventData.WheelX
getset

Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.

float Coherent.UI.MouseEventData.WheelY
getset

Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.

int Coherent.UI.MouseEventData.X
getset

The X position of the mouse in pixels in the space of the view.

int Coherent.UI.MouseEventData.Y
getset

The Y position of the mouse in pixels in the space of the view.