ArtofKinectRecorder.Views.PointCloudFrameViewer.UpdateMotionFrame C# (CSharp) Метод

UpdateMotionFrame() публичный Метод

public UpdateMotionFrame ( DeviceConfiguration config, MotionFrame frame ) : void
config DeviceConfiguration
frame MotionFrame
Результат void
        public void UpdateMotionFrame(DeviceConfiguration config, MotionFrame frame)
        {
            if (!Dispatcher.CheckAccess())
            {
                Dispatcher.BeginInvoke((Action)delegate
                {
                    UpdateMotionFrame(config, frame);
                });
                return;
            }

            if (!pointCloudImage.IsInitialized)
            {
                Activate(config);
            }
            pointCloudImage.SetMotionFrame(frame);
        }