FakePointer Class |
Namespace: TouchScript.Pointers
public class FakePointer : IPointer
The FakePointer type exposes the following members.
| Name | Description | |
|---|---|---|
| FakePointer |
Initializes a new instance of the FakePointer class.
| |
| FakePointer(Vector2) |
Initializes a new instance of the FakePointer class.
|
| Name | Description | |
|---|---|---|
| Buttons |
Current buttons state of the pointer.
| |
| Flags | Gets or sets pointer flags: [!:FLAG_ARTIFICIAL] Note: setting this property doesn't immediately change its value, the value actually changes during the next TouchManager update phase. | |
| Id |
Internal unique pointer id.
| |
| InputSource |
Original input source which created this pointer.
| |
| Position |
Current position in screen coordinates.
| |
| PreviousPosition |
Previous position in screen coordinates.
| |
| Type |
Pointer type. See PointerPointerType.
|
| Name | Description | |
|---|---|---|
| GetOverData |
Returns HitData for current pointer position, i.e. what is right beneath it. Caches the result for the entire frame.
|