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);
}