InteractionTrackerInertiaModifier InteractionTrackerInertiaModifier InteractionTrackerInertiaModifier InteractionTrackerInertiaModifier Class

Definition

Base class for inertia modifiers.

The InteractionTrackerInertiaModifier represents the base class for inertia modifiers. inertia modifiers can be thought of as ways to change the behavior for where and how InteractionTracker reaches its final resting position. Changing this behavior of InteractionTracker is commonly used when more custom motion experiences are needed such as snap points. There are two variations to how you can modify the behavior of InteractionTracker using inertia modifiers: modify its final resting position after interaction with the InteractionTrackerInertiaRestingValue class or define the equation used to calculate the actual motion and final resting position during Inertia with the InteractionTrackerInertiaMotion class. These modifiers are applied to either X Position, Y Position or Scale of InteractionTracker.

public : class InteractionTrackerInertiaModifier : CompositionObject, IInteractionTrackerInertiaModifierpublic class InteractionTrackerInertiaModifier : CompositionObject, IInteractionTrackerInertiaModifierPublic Class InteractionTrackerInertiaModifier Inherits CompositionObject Implements IInteractionTrackerInertiaModifier// This API is not available in Javascript.
Inheritance
InteractionTrackerInertiaModifierInteractionTrackerInertiaModifierInteractionTrackerInertiaModifierInteractionTrackerInertiaModifier
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Inherited Members

Inherited methods

Inherited properties

Remarks

It is important to note that inertia modifiers only get evaluated when InteractionTracker enters the Inertia state. Once the InteractionTracker has entered inertia, all the inertia modifiers are evaluated and if one is selected, it will be used to calculate the motion until InteractionTracker ’s velocity becomes 0.

See Also