Dela via


ManipulationVelocities Struct

Definition

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