C# Class _2Kinects1Machine.MultKinectServer

This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: NUIC/2-Kinects-1-Machine Class Usage Examples

Méthodes publiques

Свойство Type Description
skeletonDict Skeleton[]>.Dictionary

Méthodes publiques

Méthode Description
MultKinectServer ( ) : System

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

Initialize ( ) : void

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.

LoadContent ( ) : void
Update ( GameTime gameTime ) : void
pipeFromClient ( Process kinect ) : void

Recieves input from the client processes, and then does stuff with it.

Private Methods

Méthode Description
DrawLine ( SpriteBatch batch, Microsoft.Xna.Framework.Graphics.Texture2D blank, float width, Color color, Vector2 point1, Vector2 point2 ) : void
MessageBox ( IntPtr hWnd, String text, String caption, uint type ) : uint
addLine ( Microsoft.Kinect.Joint joint, Microsoft.Kinect.Joint joint_2 ) : void
drawSkeleton ( Microsoft.Kinect.Skeleton skeleton ) : void
updateSkeleton ( Microsoft.Kinect.Skeleton skeleton ) : void
updateSkeletons ( Microsoft.Kinect.Skeleton skeletons, string key ) : void

Method Details

Draw() protected méthode

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Résultat void

Initialize() protected méthode

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
protected Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

MultKinectServer() public méthode

public MultKinectServer ( ) : System
Résultat System

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

pipeFromClient() protected méthode

Recieves input from the client processes, and then does stuff with it.
protected pipeFromClient ( Process kinect ) : void
kinect System.Diagnostics.Process
Résultat void

Property Details

skeletonDict public_oe static_oe property

public static Dictionary skeletonDict
Résultat Skeleton[]>.Dictionary