ManipulationVelocities Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the velocities of the accumulated transformations for the current interaction.
Note
Velocity is the distance an object travels in a specified direction during a unit of time.
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct ManipulationVelocities
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct ManipulationVelocities
var manipulationVelocities = {
linear : /* Your value */,
angular : /* Your value */,
expansion : /* Your value */
}
Public Structure ManipulationVelocities
- Inheritance
-
ManipulationVelocities
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Angular |
The rotational velocity in degrees per millisecond. |
Expansion |
The expansion, or scaling, velocity in device-independent pixel (DIP) per millisecond. |
Linear |
The straight line velocity in device-independent pixel (DIP) per millisecond. |
Applies to
See also
- Touch interactions - Manipulation events
- User interaction mode sample
- Focus visuals sample
- Input: Device capabilities sample
- Input: Simplified ink sample
- Input: Windows 8 gestures sample
- Input: XAML user input events sample
- XAML scrolling, panning, and zooming sample
- DirectX touch input sample
- Input: Manipulations and gestures (C++) sample
- Input: Touch hit testing sample
- Input source identification sample
- Touch injection sample
- Win32 touch hit-testing sample