//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(798, "AudioData", 32)] public class AudioData { [DNAFieldAttribute(4, "int", 0, "mixrate", "int", false, 0)] public int mixrate; [DNAFieldAttribute(4, "float", 1, "main", "float", false, 4)] public float main; [DNAFieldAttribute(4, "float", 2, "speed_of_sound", "float", false, 8)] public float speed_of_sound; [DNAFieldAttribute(4, "float", 3, "doppler_factor", "float", false, 12)] public float doppler_factor; [DNAFieldAttribute(4, "int", 4, "distance_model", "int", false, 16)] public int distance_model; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 20)] public short flag; [DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, false, 22)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 7, "volume", "float", false, 24)] public float volume; [DNAArrayAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", 4, false, 28)] public char[] _pad2 = new System.Char[4]; public AudioData() { this.mixrate = default; this.main = default; this.speed_of_sound = default; this.doppler_factor = default; this.distance_model = default; this.flag = default; this._pad = default; this.volume = default; this._pad2 = default; } public AudioData(int mixrate, float main, float speed_of_sound, float doppler_factor, int distance_model, short flag, char[] _pad, float volume, char[] _pad2) { this.mixrate = mixrate; this.main = main; this.speed_of_sound = speed_of_sound; this.doppler_factor = doppler_factor; this.distance_model = distance_model; this.flag = flag; this._pad = _pad; this.volume = volume; this._pad2 = _pad2; } } }