public override bool Equals(Material material)
        {
            var newTypeMaterial = material as AdditiveMaterial;
            if (this.Name != newTypeMaterial.Name)
                return false;
            if (this.Elements.Count != newTypeMaterial.Elements.Count)
                return false;

            foreach (var thatElement in newTypeMaterial.Elements)
            {
                var thisElement = this.Elements.First(x => x.Name == thatElement.Name);
                if (thisElement.Min != thatElement.Min || thisElement.Max != thatElement.Max || thisElement.RealValue != thatElement.RealValue)
                    return false;
            }
            return true;
        }
 public void Init()
 {
     _dataCreator = new SampleDataCreator();
     _sampleMaterial = _dataCreator.GetSampleMaterial();
 }
 public abstract bool Equals(Material material);