Class PointerEnterEvent
Inherited Members
Namespace: Unity.UIWidgets.gestures
Syntax
public class PointerEnterEvent : PointerEvent
Constructors
PointerEnterEvent(TimeSpan, PointerDeviceKind, Int32, Offset, Offset, Int32, Boolean, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Boolean, Boolean)
Declaration
public PointerEnterEvent(TimeSpan timeStamp, PointerDeviceKind kind = PointerDeviceKind.touch, int device = 0, Offset position = null, Offset delta = null, int buttons = 0, bool obscured = false, float pressure = 0F, float pressureMin = 1F, float pressureMax = 1F, float distance = 0F, float distanceMax = 0F, float size = 0F, float radiusMajor = 0F, float radiusMinor = 0F, float radiusMin = 0F, float radiusMax = 0F, float orientation = 0F, float tilt = 0F, bool synthesized = false, bool down = false)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | timeStamp | |
| PointerDeviceKind | kind | |
| Int32 | device | |
| Offset | position | |
| Offset | delta | |
| Int32 | buttons | |
| Boolean | obscured | |
| Single | pressure | |
| Single | pressureMin | |
| Single | pressureMax | |
| Single | distance | |
| Single | distanceMax | |
| Single | size | |
| Single | radiusMajor | |
| Single | radiusMinor | |
| Single | radiusMin | |
| Single | radiusMax | |
| Single | orientation | |
| Single | tilt | |
| Boolean | synthesized | |
| Boolean | down |
Methods
fromHoverEvent(PointerHoverEvent)
Declaration
public static PointerEnterEvent fromHoverEvent(PointerHoverEvent e)
Parameters
| Type | Name | Description |
|---|---|---|
| PointerHoverEvent | e |
Returns
| Type | Description |
|---|---|
| PointerEnterEvent |
fromMouseEvent(PointerEvent)
Declaration
public static PointerEnterEvent fromMouseEvent(PointerEvent hover)
Parameters
| Type | Name | Description |
|---|---|---|
| PointerEvent | hover |
Returns
| Type | Description |
|---|---|
| PointerEnterEvent |