Share via


InteractionTrackerInertiaMotion.Motion Property

Definition

An ExpressionAnimation describing the modified motion for InteractionTracker if the expression in the Condition property is true.

The Motion property is an ExpressionAnimation that describes the motion InteractionTracker will utilize during Inertia when the corresponding condition is met. The expression will be evaluated every frame while InteractionTracker is in Inertia and must resolve to a type Float, otherwise an error will be thrown when the equation is evaluated. See the ExpressionAnimation class page for more details on building expressions.

public:
 property ExpressionAnimation ^ Motion { ExpressionAnimation ^ get(); void set(ExpressionAnimation ^ value); };
ExpressionAnimation Motion();

void Motion(ExpressionAnimation value);
public ExpressionAnimation Motion { get; set; }
var expressionAnimation = interactionTrackerInertiaMotion.motion;
interactionTrackerInertiaMotion.motion = expressionAnimation;
Public Property Motion As ExpressionAnimation

Property Value

An ExpressionAnimation describing the modified motion for InteractionTracker if the expression in the Condition property is true.

Applies to