public void SetDefault()
 {
     InTransition              = false;
     TransitionPosition        = 0;
     TransitionFramesRemaining = 0;
     PresetID            = -1;
     ProgramID           = -1;
     AuxID               = -1;
     DSK1OnAir           = false;
     USK1OnAir           = false;
     USK1KeyType         = 1;
     DSK1Tie             = false;
     DSK2OnAir           = false;
     DSK2Tie             = false;
     FTB                 = false;
     USK1FillSource      = -1;
     USK1KeyFrame        = -1;
     TransNextBackground = true;
     TransNextKey1       = false;
     ChromaSettings      = new BMDUSKChromaSettings()
     {
         FillSource = 0,
         Gain       = 0,
         Hue        = 0,
         Lift       = 0,
         Narrow     = 0,
         YSuppress  = 0
     };
     DVESettings = new BMDUSKDVESettings()
     {
         Current = new KeyFrameSettings()
         {
             PositionX = 0,
             PositionY = 0,
             SizeX     = 0,
             SizeY     = 0
         },
         DefaultFillSource = 0,
         IsBordered        = 0,
         IsMasked          = 0,
         MaskBottom        = 0,
         MaskTop           = 0,
         MaskLeft          = 0,
         MaskRight         = 0,
         KeyFrameA         = new KeyFrameSettings()
         {
             PositionX = 0,
             PositionY = 0,
             SizeX     = 0,
             SizeY     = 0
         },
         KeyFrameB = new KeyFrameSettings()
         {
             PositionX = 0,
             PositionY = 0,
             SizeX     = 0,
             SizeY     = 0
         }
     };
 }
示例#2
0
 public void ConfigureUSK1Chroma(BMDUSKChromaSettings settings)
 {
     _state.USK1KeyType = 2;
     SwitcherStateChanged?.Invoke(_state);
 }