コード例 #1
0
ファイル: LiveElements.cs プロジェクト: Anniepoo/DSalleShare
 public LiveElements(PlayerImageRenderer playerImageRenderer, Microsoft.Kinect.Skeleton skeleton, SkeletonPointMap mapMethod, int playerID)
 {
     this.playerImageRenderer = playerImageRenderer;
     this.skeleton = skeleton;
     this.mapMethod = mapMethod;
     this.playerID = playerID;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the PaintersAlgorithmRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public PaintersAlgorithmRenderer(Game game)
     : base(game)
 {
     this.playerImageRenderer = new PlayerImageRenderer(game);
     this.cartoonElements = new CartoonElements(game, this.playerImageRenderer.SkeletonToColorMapViewPortCorrection, this.playerImageRenderer);
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the CartoonRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 /// <param name="map">The method used to map the SkeletonPoint to the target space.</param>
 public CartoonElements(Game game, SkeletonPointMap map, PlayerImageRenderer pir)
     : base(game)
 {
     this.mapMethod = map;
     this.playerImageRenderer = pir;
 }