IInertiaProcessor interface

The IInertiaProcessor interface handles calculations regarding object motion for Windows Touch.

Members

The IInertiaProcessor interface inherits from the IUnknown interface. IInertiaProcessor also has these types of members:

Methods

The IInertiaProcessor interface has these methods.

MethodDescription
Complete

Optionally processes the given tick and raises the Completed event.

CompleteTime

Processes the given tick and raises the Completed event.

Process

Performs calculations for the given tick and can raise the Delta or Completed event depending on whether extrapolation is completed or not. If extrapolation finished at the previous tick, the method is no-op.

ProcessTime

Performs calculations for the given tick and can raise the Delta or Completed event depending on whether extrapolation is completed or not.

Reset

Initializes the processor with initial time stamp.

 

Properties

The IInertiaProcessor interface has these properties.

PropertyAccess typeDescription

BoundaryBottom

Read/write

Limits how far toward the bottom of the screen the target object can move.

BoundaryLeft

Read/write

Limits how far toward the left of the screen the target object can move.

BoundaryRight

Read/write

Limits how far toward the right of the screen the target object can move.

BoundaryTop

Read/write

Limits how far toward the top of the screen the target object can move.

DesiredAngularDeceleration

Read/write

Specifies the desired rate that the target object will stop spinning in radians per msec.

DesiredDeceleration

Read/write

Specifies the desired rate at which translation operations will decelerate.

DesiredDisplacement

Read/write

Specifies the desired distance that the object will travel.

DesiredExpansion

Read/write

Specifies the desired change in the object's average radius.

DesiredExpansionDeceleration

Read/write

Specifies the rate at which the object will stop expanding.

DesiredRotation

Read/write

Specifies the desired rotation on the current object.

ElasticMarginBottom

Read/write

Specifies the lower region for bouncing the target object.

ElasticMarginLeft

Read/write

Specifies the leftmost region for bouncing the target object.

ElasticMarginRight

Read/write

Specifies the rightmost region for bouncing the target object.

ElasticMarginTop

Read/write

Specifies the upper boundary for bouncing objects within the elastic region.

InitialAngularVelocity

Read/write

Specifies the rotation of the target when movement begins.

InitialExpansionVelocity

Read/write

Specifies the rate of radius expansion for a target when the target was affected by inertia.

InitialOriginX

Read/write

Gets or puts the property designating the horizontal position of a target object. This property specifies the starting horizontal location for a target with inertia.

InitialOriginY

Read/write

Gets or puts the property designating the vertical location for a target object. This property specifies the starting vertical location for a target with inertia.

InitialRadius

Read/write

Specifies the distance from the edge of the target to its center before the object was changed.

InitialTimestamp

Read/write

Specifies the starting time stamp for a target object with inertia.

InitialVelocityX

Read/write

Specifies the initial movement of the target object on the horizontal axis.

InitialVelocityY

Read/write

Specifies the initial movement of the target object on the vertical axis.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

See also

Classes and Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft