コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the DepthStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public DepthStreamRenderer(Game game)
     : base(game)
 {
     this.skeletonStream = new SkeletonStreamRenderer(game, this.SkeletonToDepthMap);
     this.Size           = new Vector2(150, 150);
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the ColorStreamRenderer class.
 /// </summary>
 /// <param name="game">The related game object.</param>
 public ColorStreamRenderer(Game game)
     : base(game)
 {
     this.skeletonStream = new SkeletonStreamRenderer(game, this.SkeletonToColorMap);
 }