/// <summary> /// Initializes a new instance of the <see cref="ChannelData"/> class. /// </summary> /// <param name="file">The file.</param> /// <param name="reader">The reader.</param> public ChannelData(NiFile file, BinaryReader reader) { this.Type = (eChannelType)reader.ReadUInt32(); this.Convention = (eChannelConvention)reader.ReadUInt32(); this.BitsPerChannel = reader.ReadByte(); this.UnkownByte = reader.ReadByte(); }
public ChannelData(NiFile file, BinaryReader reader) { Type = (eChannelType)reader.ReadUInt32(); Convention = (eChannelConvention)reader.ReadUInt32(); BitsPerChannel = reader.ReadByte(); UnkownByte = reader.ReadByte(); }