コード例 #1
0
        void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            kinect = Kinect2.KinectSensor.Default;
            kinect.Open();
            colorReader = kinect.ColorFrameSource.OpenReader();
            bodyReader  = kinect.BodyFrameSource.OpenReader();

            CompositionTarget.Rendering += CompositionTarget_Rendering;
        }
コード例 #2
0
        void MainWindow_Loaded( object sender, RoutedEventArgs e )
        {
            kinect = Kinect2.KinectSensor.Default;
            kinect.Open();
            colorReader = kinect.ColorFrameSource.OpenReader();
            bodyReader = kinect.BodyFrameSource.OpenReader();

            CompositionTarget.Rendering += CompositionTarget_Rendering;
        }