//------------------------------------------------------------------------------ // // 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")] public struct AudioData { [DNAFieldAttribute(0, "int", "mixrate", 4)] public int mixrate; [DNAFieldAttribute(1, "float", "main", 4)] public float main; [DNAFieldAttribute(2, "float", "speed_of_sound", 4)] public float speed_of_sound; [DNAFieldAttribute(3, "float", "doppler_factor", 4)] public float doppler_factor; [DNAFieldAttribute(4, "int", "distance_model", 4)] public int distance_model; [DNAFieldAttribute(5, "short", "flag", 2)] public short flag; [DNAFieldAttribute(6, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(7, "float", "volume", 4)] public float volume; [DNAFieldAttribute(8, "char", "_pad2[4]", 1)] 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; } } }