コード例 #1
0
ファイル: HighlightCanvas.cs プロジェクト: halllo/MKinect
 private HighlightCanvasHighlight StartTrackingForHighlight(HighlightCanvasHighlight hl, MoveableBodyPart bodyPart)
 {
     hl.StartTracking(bodyPart).WhenMoved((center) => this.MoveHighlightToPoint(hl, center(this.CurrentCenter)));
     hl.WhenActivated(this.ActivateHightlight).RelativeTo(this.GetPrimaryHighlight);
     hl.WhenDeactivated(this.DeactivateHightlight);
     return hl;
 }