InteractionTracker.CreateWithOwner 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.
Creates an instance of InteractionTracker with the specified owner.
This Create method will instantiate an InteractionTracker with an owner for registering for callbacks. After creating the InteractionTracker setting the properties, attaching a VisualInteractionSource, and referencing position or scale in an ExpressionAnimation, active input can drive the ExpressionAnimation. Creating the InteractionTracker with an owner is only required if the application needs to receive callbacks regarding state and values of the InteractionTracker.
public:
static InteractionTracker ^ CreateWithOwner(Compositor ^ compositor, IInteractionTrackerOwner ^ owner);
static InteractionTracker CreateWithOwner(Compositor const& compositor, IInteractionTrackerOwner const& owner);
public static InteractionTracker CreateWithOwner(Compositor compositor, IInteractionTrackerOwner owner);
function createWithOwner(compositor, owner)
Public Shared Function CreateWithOwner (compositor As Compositor, owner As IInteractionTrackerOwner) As InteractionTracker
Parameters
- compositor
- Compositor
The compositor to use to create the instance of InteractionTracker.
- owner
- IInteractionTrackerOwner
The InteractionTracker owner to associate with the created InteractionTracker.
Returns
Returns the created InteractionTracker object.