InteractionTracker.SetBindingMode 方法

定义

设置两个交互跟踪器之间的绑定轴模式。

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)

参数

boundTracker1
InteractionTracker

绑定中的第一个交互跟踪器。

boundTracker2
InteractionTracker

绑定中的第二个交互跟踪器。

axisMode
InteractionBindingAxisModes

要绑定的轴。

注解

这两个交互跟踪器 (boundTracker1boundTracker2) 必须来自同一个 Compositor。

传递 None 作为 axisMode 参数以删除现有绑定模式。

适用于