IInertiaProcessor::put_DesiredAngularDeceleration method (manipulations.h)

The DesiredAngularDeceleration property specifies the desired rate that the target object will stop spinning in radians per msec squared.

This property is read/write.

Syntax

HRESULT put_DesiredAngularDeceleration(
  FLOAT deceleration
);

Parameters

deceleration

Return value

None

Remarks

DesiredAngularDeceleration and DesiredRotation are mutually exclusive. If one is set, the other should be NaN.

If inertia processing has already started, setting DesiredAngularDeceleration will reset the inertia engine to the initial state with new deceleration value applied.

Call this function to set the initial state of inertia. You would call this function most likely during the ManipulationCompleted event of the IManipulationProcessor or in the constructor of the IInertiaProcessor interface.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header manipulations.h (include Manipulations.h)

See also

DesiredRotation

Handling Inertia in Unmanaged Code

IInertiaProcessor

Inertia Mechanics

InitialAngularVelocity

Properties