Exemplo n.º 1
0
        private void UpdateSliderPosition()
        {
            double transitionPos;

            m_mixEffectBlock1.GetFloat(_BMDSwitcherMixEffectBlockPropertyId.bmdSwitcherMixEffectBlockPropertyIdTransitionPosition, out transitionPos);

            m_currentTransitionReachedHalfway = (transitionPos >= 0.50);

            if (m_moveSliderDownwards)
            {
                trackBarTransitionPos.Value = 100 - (int)(transitionPos * 100);
            }
            else
            {
                trackBarTransitionPos.Value = (int)(transitionPos * 100);
            }
        }