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.
| Method | Description |
|---|---|
| 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.
| Property | Access type | Description |
|---|---|---|
| Read/write |
Limits how far toward the bottom of the screen the target object can move. | |
| Read/write |
Limits how far toward the left of the screen the target object can move. | |
| Read/write |
Limits how far toward the right of the screen the target object can move. | |
| Read/write |
Limits how far toward the top of the screen the target object can move. | |
| Read/write |
Specifies the desired rate that the target object will stop spinning in radians per msec. | |
| Read/write |
Specifies the desired rate at which translation operations will decelerate. | |
| Read/write |
Specifies the desired distance that the object will travel. | |
| Read/write |
Specifies the desired change in the object's average radius. | |
| Read/write |
Specifies the rate at which the object will stop expanding. | |
| Read/write |
Specifies the desired rotation on the current object. | |
| Read/write |
Specifies the lower region for bouncing the target object. | |
| Read/write |
Specifies the leftmost region for bouncing the target object. | |
| Read/write |
Specifies the rightmost region for bouncing the target object. | |
| Read/write |
Specifies the upper boundary for bouncing objects within the elastic region. | |
| Read/write |
Specifies the rotation of the target when movement begins. | |
| Read/write |
Specifies the rate of radius expansion for a target when the target was affected by inertia. | |
| 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. | |
| 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. | |
| Read/write |
Specifies the distance from the edge of the target to its center before the object was changed. | |
| Read/write |
Specifies the starting time stamp for a target object with inertia. | |
| Read/write |
Specifies the initial movement of the target object on the horizontal axis. | |
| 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