VisualInteractionSource.PositionVelocity Property

Definition

The instantaneous rate of change of position in the interaction, in pixels per second. Defaults to 0. Readble only via expression/animation.

public:
 property float3 PositionVelocity { float3 get(); };
float3 PositionVelocity();
public Vector3 PositionVelocity { get; }
var vector3 = visualInteractionSource.positionVelocity;
Public ReadOnly Property PositionVelocity As Vector3

Property Value

Vector3 Vector3

float3

The position velocity of the interaction source.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to