CompositionExtensions.SetMotion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Use the value of specified ExpressionNode to dictate the motion for this inertia modifier.
public static void SetMotion(this Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion modifier, CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode expressionNode);
static member SetMotion : Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion * CommunityToolkit.WinUI.Animations.Expressions.ExpressionNode -> unit
<Extension()>
Public Sub SetMotion (modifier As InteractionTrackerInertiaMotion, expressionNode As ExpressionNode)
Parameters
- modifier
- Microsoft.UI.Composition.Interactions.InteractionTrackerInertiaMotion
The modifier.
- expressionNode
- ExpressionNode
The root ExpressionNode that represents the ExpressionAnimation.