Dela via


InteractionTracker.Create(Compositor) Method

Definition

Creates an instance of InteractionTracker.

This Create method will instantiate an InteractionTracker. After creating the InteractionTracker setting the properties, attaching a VisualInteractionSource, and referencing position or scale in an ExpressionAnimation, active input can drive the ExpressionAnimation.

public:
 static InteractionTracker ^ Create(Compositor ^ compositor);
 static InteractionTracker Create(Compositor const& compositor);
public static InteractionTracker Create(Compositor compositor);
function create(compositor)
Public Shared Function Create (compositor As Compositor) As InteractionTracker

Parameters

compositor
Compositor

The compositor to use when creating the InteractionTracker.

Returns

Returns the created InteractionTracker object.

Applies to