//------------------------------------------------------------------------------ // // 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(972, "Speaker", 272)] public class Speaker { [DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)] public ID id; [DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)] public AnimData ptr_adt; [DNAFieldAttribute(2, "bSound", "*sound", "bSound", 8, true, 216)] public bSound ptr_sound; [DNAFieldAttribute(3, "float", "volume_max", "float", 4, false, 224)] public float volume_max; [DNAFieldAttribute(4, "float", "volume_min", "float", 4, false, 228)] public float volume_min; [DNAFieldAttribute(5, "float", "distance_max", "float", 4, false, 232)] public float distance_max; [DNAFieldAttribute(6, "float", "distance_reference", "float", 4, false, 236)] public float distance_reference; [DNAFieldAttribute(7, "float", "attenuation", "float", 4, false, 240)] public float attenuation; [DNAFieldAttribute(8, "float", "cone_angle_outer", "float", 4, false, 244)] public float cone_angle_outer; [DNAFieldAttribute(9, "float", "cone_angle_inner", "float", 4, false, 248)] public float cone_angle_inner; [DNAFieldAttribute(10, "float", "cone_volume_outer", "float", 4, false, 252)] public float cone_volume_outer; [DNAFieldAttribute(11, "float", "volume", "float", 4, false, 256)] public float volume; [DNAFieldAttribute(12, "float", "pitch", "float", 4, false, 260)] public float pitch; [DNAFieldAttribute(13, "short", "flag", "short", 2, false, 264)] public short flag; [DNAFieldAttribute(14, "char", "_pad1[6]", "System.Char[]", 6, false, 266)] public char[] _pad1 = new System.Char[6]; public Speaker() { this.id = default; this.ptr_adt = default; this.ptr_sound = default; this.volume_max = default; this.volume_min = default; this.distance_max = default; this.distance_reference = default; this.attenuation = default; this.cone_angle_outer = default; this.cone_angle_inner = default; this.cone_volume_outer = default; this.volume = default; this.pitch = default; this.flag = default; this._pad1 = default; } public Speaker(ID id, AnimData ptr_adt, bSound ptr_sound, float volume_max, float volume_min, float distance_max, float distance_reference, float attenuation, float cone_angle_outer, float cone_angle_inner, float cone_volume_outer, float volume, float pitch, short flag, char[] _pad1) { this.id = id; this.ptr_adt = ptr_adt; this.ptr_sound = ptr_sound; this.volume_max = volume_max; this.volume_min = volume_min; this.distance_max = distance_max; this.distance_reference = distance_reference; this.attenuation = attenuation; this.cone_angle_outer = cone_angle_outer; this.cone_angle_inner = cone_angle_inner; this.cone_volume_outer = cone_volume_outer; this.volume = volume; this.pitch = pitch; this.flag = flag; this._pad1 = _pad1; } } }