TouchPointer Class |
Namespace: TouchScript.Pointers
public class TouchPointer : Pointer
The TouchPointer type exposes the following members.
| Name | Description | |
|---|---|---|
| TouchPointer |
Initializes a new instance of the TouchPointer class.
|
| Name | Description | |
|---|---|---|
| Buttons |
Current buttons state of the pointer.
(Inherited from 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.
(Inherited from Pointer.) | |
| InputSource |
Original input source which created this pointer.
(Inherited from Pointer.) | |
| Position |
Current position in screen coordinates.
(Inherited from Pointer.) | |
| Pressure |
Gets or sets the touch's pressure.
| |
| PreviousPosition |
Previous position in screen coordinates.
(Inherited from Pointer.) | |
| ProjectionParams |
Projection parameters for the layer which created this pointer.
(Inherited from Pointer.) | |
| Rotation |
Gets or sets the touch's rotation.
| |
| Type |
Pointer type. See PointerPointerType.
(Inherited from Pointer.) |
| Name | Description | |
|---|---|---|
| CopyFrom |
Copies values from the target.
(Inherited from Pointer.) | |
| Equals(Object) | (Inherited from Pointer.) | |
| Equals(Pointer) | (Inherited from Pointer.) | |
| GetHashCode | (Inherited from Pointer.) | |
| GetOverData |
Returns HitData for current pointer position, i.e. what is right beneath it. Caches the result for the entire frame.
(Inherited from Pointer.) | |
| GetPressData |
Returns HitData when the pointer was pressed. If the pointer is not pressed uninitialized HitData is returned.
(Inherited from Pointer.) | |
| ToString | (Inherited from Pointer.) |
| Name | Description | |
|---|---|---|
| DEFAULT_PRESSURE |
Default pressure value when device doesn't provide it.
| |
| DEFAULT_ROTATION |
Default rotation value when device doesn't provide it.
|