StartKinect() 공개 메소드

public StartKinect ( ) : void
리턴 void
예제 #1
0
 private void SetupKinect()
 {
     _kinect = MyKinect.Instance;
     _kinect.UserCreated += _kinect_UserCreated;
     _kinect.CameraDataUpdated += _kinect_CameraDataUpdated;
     _kinect.StartKinect();
 }
예제 #2
0
파일: Game1.cs 프로젝트: atosorigin/Kinect
 /// <summary>
 /// 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.
 /// </summary>
 protected override void Initialize()
 {
     // TODO: Add your initialization logic here
     _kinect = MyKinect.Instance;
     _kinect.StartKinect();
     _kinect.UserCreated += _kinect_UserCreated;
     _kinect.UserRemoved += _kinect_UserRemoved;
     base.Initialize();
 }
예제 #3
0
 private void SetUpKinect()
 {
     _kinect = MyKinect.Instance;
     _kinect.CameraDataUpdated += KinectCameraDataUpdated;
     _kinect.PropertyChanged += KinectPropertyChanged;
     _kinect.UserCreated += KinectUserCreated;
     _kinect.UserRemoved += KinectUserRemoved;
     _kinect.StartKinect();
 }
예제 #4
0
 private void InitKinect()
 {
     _kinectUsers = new List<User>();
     _kinect = MyKinect.Instance;
     _kinect.ChangeMaxSkeletonPositions(.5f, .5f);
     _kinect.ElevationAngleInitialPosition = 0;
     _kinect.UserCreated += KinectUserCreated;
     _kinect.UserRemoved += _kinect_UserRemoved;
     //_kinect.KinectStarted += new EventHandler<KinectEventArgs>(_kinect_KinectStarted);
     _kinect.StartKinect();
 }