Exemple #1
0
 public MixerAnchorSetCommand(int?channel = null, int?layer = null, MixerAnchor anchor = null, Transform transform = null)
 {
     Channel   = channel;
     Layer     = layer;
     Anchor    = anchor;
     Transform = transform;
 }
        internal override void ProcessData(AmcpParsedData data)
        {
            base.ProcessData(data);

            var values = Converter.StringToDoubleArray(data.Data[1], " ", NumberStyles.AllowDecimalPoint, new CultureInfo("en-US"));

            Anchor = new MixerAnchor(values[0], values[1]);
        }