//------------------------------------------------------------------------------ // // 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(886, "bSound", 1344)] public class bSound { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; [DNAArrayAttribute(1024, "char", 1, "name[1024]", "System.Char[]", 1024, false, 208)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(8, "PackedFile", 2, "*packedfile", "PackedFile", true, 1232)] public PackedFile packedfile; [DNAFieldAttribute(8, "void", 3, "*handle", "void", true, 1240)] public object handle; [DNAFieldAttribute(8, "PackedFile", 4, "*newpackedfile", "PackedFile", true, 1248)] public PackedFile newpackedfile; [DNAFieldAttribute(8, "Ipo", 5, "*ipo", "Ipo", true, 1256)] public Ipo ipo; [DNAFieldAttribute(4, "float", 6, "volume", "float", false, 1264)] public float volume; [DNAFieldAttribute(4, "float", 7, "attenuation", "float", false, 1268)] public float attenuation; [DNAFieldAttribute(4, "float", 8, "pitch", "float", false, 1272)] public float pitch; [DNAFieldAttribute(4, "float", 9, "min_gain", "float", false, 1276)] public float min_gain; [DNAFieldAttribute(4, "float", 10, "max_gain", "float", false, 1280)] public float max_gain; [DNAFieldAttribute(4, "float", 11, "distance", "float", false, 1284)] public float distance; [DNAFieldAttribute(2, "short", 12, "flags", "short", false, 1288)] public short flags; [DNAFieldAttribute(2, "short", 13, "tags", "short", false, 1290)] public short tags; [DNAArrayAttribute(4, "char", 14, "_pad[4]", "System.Char[]", 4, false, 1292)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "double", 15, "offset_time", "double", false, 1296)] public double offset_time; [DNAFieldAttribute(8, "void", 16, "*cache", "void", true, 1304)] public object cache; [DNAFieldAttribute(8, "void", 17, "*waveform", "void", true, 1312)] public object waveform; [DNAFieldAttribute(8, "void", 18, "*playback_handle", "void", true, 1320)] public object playback_handle; [DNAFieldAttribute(8, "void", 19, "*spinlock", "void", true, 1328)] public object spinlock; [DNAFieldAttribute(4, "int", 20, "audio_channels", "int", false, 1336)] public int audio_channels; [DNAFieldAttribute(4, "int", 21, "samplerate", "int", false, 1340)] public int samplerate; public bSound() { this.id = default; this.name = default; this.packedfile = default; this.handle = default; this.newpackedfile = default; this.ipo = default; this.volume = default; this.attenuation = default; this.pitch = default; this.min_gain = default; this.max_gain = default; this.distance = default; this.flags = default; this.tags = default; this._pad = default; this.offset_time = default; this.cache = default; this.waveform = default; this.playback_handle = default; this.spinlock = default; this.audio_channels = default; this.samplerate = default; } public bSound( ID id, char[] name, PackedFile packedfile, object handle, PackedFile newpackedfile, Ipo ipo, float volume, float attenuation, float pitch, float min_gain, float max_gain, float distance, short flags, short tags, char[] _pad, double offset_time, object cache, object waveform, object playback_handle, object spinlock, int audio_channels, int samplerate) { this.id = id; this.name = name; this.packedfile = packedfile; this.handle = handle; this.newpackedfile = newpackedfile; this.ipo = ipo; this.volume = volume; this.attenuation = attenuation; this.pitch = pitch; this.min_gain = min_gain; this.max_gain = max_gain; this.distance = distance; this.flags = flags; this.tags = tags; this._pad = _pad; this.offset_time = offset_time; this.cache = cache; this.waveform = waveform; this.playback_handle = playback_handle; this.spinlock = spinlock; this.audio_channels = audio_channels; this.samplerate = samplerate; } } }