![]() |
Paradox Game Engine
v1.0.0 beta06
|
A pointer event. More...
Public Member Functions | |
| PointerEvent | Clone () |
| Clones this instance. More... | |
| override string | ToString () |
Properties | |
| int | PointerId [get, set] |
| Gets a unique identifier of the pointer. See remarks. More... | |
| Vector2 | Position [get, set] |
| Gets the absolute screen position of the pointer. More... | |
| Vector2 | DeltaPosition [get, set] |
| Gets the delta position of the pointer since the previous frame. More... | |
| TimeSpan | DeltaTime [get, set] |
| Gets the amount of time since the previous state. More... | |
| PointerState | State [get, set] |
| Gets the state of this pointer event (down, up, move... etc.) More... | |
| PointerType | PointerType [get, set] |
| Gets the type of the pointer. More... | |
| bool | IsPrimary [get, set] |
| Gets a boolean indicating whether this is the default primary pointer. More... | |
A pointer event.
Definition at line 12 of file PointerEvent.cs.
| PointerEvent SiliconStudio.Paradox.Input.PointerEvent.Clone | ( | ) |
| override string SiliconStudio.Paradox.Input.PointerEvent.ToString | ( | ) |
Definition at line 112 of file PointerEvent.cs.
|
getset |
Gets the delta position of the pointer since the previous frame.
The delta position.
Definition at line 67 of file PointerEvent.cs.
|
getset |
Gets the amount of time since the previous state.
The delta time.
Definition at line 73 of file PointerEvent.cs.
|
getset |
Gets a boolean indicating whether this is the default primary pointer.
true if this instance is primary; otherwise, false.
Definition at line 91 of file PointerEvent.cs.
|
getset |
Gets a unique identifier of the pointer. See remarks.
The pointer id.
The default mouse pointer will always be affected to the PointerId 0. On a tablet, a pen or each fingers will get a unique identifier.
Definition at line 55 of file PointerEvent.cs.
|
getset |
Gets the type of the pointer.
The type of the pointer.
Definition at line 85 of file PointerEvent.cs.
|
getset |
Gets the absolute screen position of the pointer.
The position.
Definition at line 61 of file PointerEvent.cs.
|
getset |
Gets the state of this pointer event (down, up, move... etc.)
The state.
Definition at line 79 of file PointerEvent.cs.