Пример #1
0
        float GetSectionDuration(UIAnimationSection s)
        {
            float hidingDuration  = s.HidingDuration < 0 ? HidingDuration : s.HidingDuration;
            float showingDuration = s.ShowingDuration < 0 ? (ShowIsUseHideDuration ? HidingDuration : ShowingDuration) : s.ShowingDuration;

            return(!Visible ? hidingDuration : showingDuration);
        }
Пример #2
0
 EquationsParameters GetEasingParams(UIAnimationSection s)
 {
     return(!Visible ? s.hidingParameters : (s.ShowIsUseHideSameValue ? s.hidingParameters : s.showingParameters));
 }
Пример #3
0
 enMotionType GetSectionType(UIAnimationSection s)
 {
     return(!Visible ? s.HideType : (s.ShowIsUseHideSameValue ? s.HideType : s.ShowType));
 }