InertiaRotationBehavior2D.InitialVelocity Property

.NET Framework (current version)
 

Gets or sets the initial rotational velocity, in radians per millisecond.

Namespace:   System.Windows.Input.Manipulations
Assembly:  System.Windows.Input.Manipulations (in System.Windows.Input.Manipulations.dll)

public float InitialVelocity { get; set; }

Property Value

Type: System.Single

The initial rotational velocity, in radians per millisecond.

The default value for this property is NaN. Leaving this property unchanged from the default or setting this property to zero (0) will disable rotational inertia.

This property cannot be set while the inertia processor is running; otherwise, an exception is thrown.

.NET Framework
Available since 4.0
Return to top
Show: