Exemplo n.º 1
0
        public void LoadFrom(Stream stream)
        {
            BinaryReader reader = new BinaryReader(stream);

            maxGradient = new GradientNEW(stream);
            minGradient = new GradientNEW(stream);
            minColor    = new Color4(reader.ReadInt32());
            maxColor    = new Color4(reader.ReadInt32());
            minMaxState = reader.ReadInt16();
            reader.ReadBytes(2);
        }
Exemplo n.º 2
0
 public void LoadFrom(Stream stream)
 {
     BinaryReader reader = new BinaryReader(stream);
     maxGradient = new GradientNEW(stream);
     minGradient = new GradientNEW(stream);
     minColor = new Color4(reader.ReadInt32());
     maxColor = new Color4(reader.ReadInt32());
     minMaxState = reader.ReadInt16();
     reader.ReadBytes(2);
 }