InteractionTracker.CreateWithOwner メソッド

定義

指定した所有者を持つ InteractionTracker のインスタンスを作成します。

この Create メソッドは、コールバックを登録するための所有者と InteractionTracker をインスタンス化します。 InteractionTracker でプロパティの設定、VisualInteractionSource のアタッチ、ExpressionAnimation での位置またはスケールの参照を作成した後、アクティブな入力で ExpressionAnimation を駆動できます。 所有者との InteractionTracker の作成は、アプリケーションが 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

パラメーター

compositor
Compositor

InteractionTracker のインスタンスの作成に使用するコンポジター。

owner
IInteractionTrackerOwner

作成された InteractionTracker に関連付ける InteractionTracker 所有者。

返品

作成された InteractionTracker オブジェクトを 返します。

適用対象