Example #1
0
        /// <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();
		}
Example #2
0
 public ChannelData(NiFile file, BinaryReader reader)
 {
     Type           = (eChannelType)reader.ReadUInt32();
     Convention     = (eChannelConvention)reader.ReadUInt32();
     BitsPerChannel = reader.ReadByte();
     UnkownByte     = reader.ReadByte();
 }