public Texel ReadTexel() { Texel t = new Texel(); t.B = this.ReadByte(); t.G = this.ReadByte(); t.R = this.ReadByte(); t.A = this.ReadByte(); return t; }
public PrtColorStage(PrtBinaryReader reader) { this.UsePalette = reader.ReadBoolean(); reader.ReadBytes(3); this.Color = reader.ReadTexel(); this.Hold = reader.ReadSingle(); this.Fade = reader.ReadSingle(); }