Jaa


InteractionTracker.SetBindingMode Method

Definition

Sets the binding axis mode between two interaction trackers.

public:
 static void SetBindingMode(InteractionTracker ^ boundTracker1, InteractionTracker ^ boundTracker2, InteractionBindingAxisModes axisMode);
 static void SetBindingMode(InteractionTracker const& boundTracker1, InteractionTracker const& boundTracker2, InteractionBindingAxisModes const& axisMode);
public static void SetBindingMode(InteractionTracker boundTracker1, InteractionTracker boundTracker2, InteractionBindingAxisModes axisMode);
function setBindingMode(boundTracker1, boundTracker2, axisMode)
Public Shared Sub SetBindingMode (boundTracker1 As InteractionTracker, boundTracker2 As InteractionTracker, axisMode As InteractionBindingAxisModes)

Parameters

boundTracker1
InteractionTracker

The first interaction tracker in the binding.

boundTracker2
InteractionTracker

The second interaction tracker in the binding.

axisMode
InteractionBindingAxisModes

The axis that is being bound.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

Both interaction trackers (boundTracker1, boundTracker2) must come from the same Compositor.

Pass None as the axisMode parameter to remove an existing binding mode.

Applies to