Exemple #1
0
 public void BlankOut(bool switchFast = false)
 {
     if (m_mixEffectBlock1 != null)
     {
         m_mixEffectBlock1.SetFadeToBlackRate(25);
         m_mixEffectBlock1.PerformFadeToBlack();
     }
 }
Exemple #2
0
 private void fadeBlackBut_Click(object sender, RoutedEventArgs e)
 {
     if (m_mixEffectBlock1 != null)
     {
         m_mixEffectBlock1.PerformFadeToBlack();
         //System.Threading.Thread.Sleep(500);
         //m_mixEffectBlock1.GetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdPreviewInput, out currentPreview);
         //setCurrent Program ID
         //m_mixEffectBlock1.GetInt(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdProgramInput, out currentProgram);
         //updateProgPrevUI(currentPreview, false);
         //updateProgPrevUI(currentProgram, true);
     }
 }