Files
BlenderSharp/BlendFile/DNA/bSound.cs
2025-02-19 18:48:50 +01:00

134 lines
5.4 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(886, "bSound", 1344)]
public class bSound {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "char", "name[1024]", "System.Char[]", 1024, false)]
public char[] name = new System.Char[1024];
[DNAFieldAttribute(2, "PackedFile", "*packedfile", "PackedFile", 8, true)]
public PackedFile ptr_packedfile;
[DNAFieldAttribute(3, "void", "*handle", "void", 8, true)]
public object ptr_handle;
[DNAFieldAttribute(4, "PackedFile", "*newpackedfile", "PackedFile", 8, true)]
public PackedFile ptr_newpackedfile;
[DNAFieldAttribute(5, "Ipo", "*ipo", "Ipo", 8, true)]
public Ipo ptr_ipo;
[DNAFieldAttribute(6, "float", "volume", "float", 4, false)]
public float volume;
[DNAFieldAttribute(7, "float", "attenuation", "float", 4, false)]
public float attenuation;
[DNAFieldAttribute(8, "float", "pitch", "float", 4, false)]
public float pitch;
[DNAFieldAttribute(9, "float", "min_gain", "float", 4, false)]
public float min_gain;
[DNAFieldAttribute(10, "float", "max_gain", "float", 4, false)]
public float max_gain;
[DNAFieldAttribute(11, "float", "distance", "float", 4, false)]
public float distance;
[DNAFieldAttribute(12, "short", "flags", "short", 2, false)]
public short flags;
[DNAFieldAttribute(13, "short", "tags", "short", 2, false)]
public short tags;
[DNAFieldAttribute(14, "char", "_pad[4]", "System.Char[]", 4, false)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(15, "double", "offset_time", "double", 8, false)]
public double offset_time;
[DNAFieldAttribute(16, "void", "*cache", "void", 8, true)]
public object ptr_cache;
[DNAFieldAttribute(17, "void", "*waveform", "void", 8, true)]
public object ptr_waveform;
[DNAFieldAttribute(18, "void", "*playback_handle", "void", 8, true)]
public object ptr_playback_handle;
[DNAFieldAttribute(19, "void", "*spinlock", "void", 8, true)]
public object ptr_spinlock;
[DNAFieldAttribute(20, "int", "audio_channels", "int", 4, false)]
public int audio_channels;
[DNAFieldAttribute(21, "int", "samplerate", "int", 4, false)]
public int samplerate;
public bSound() {
this.id = default;
this.name = default;
this.ptr_packedfile = default;
this.ptr_handle = default;
this.ptr_newpackedfile = default;
this.ptr_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.ptr_cache = default;
this.ptr_waveform = default;
this.ptr_playback_handle = default;
this.ptr_spinlock = default;
this.audio_channels = default;
this.samplerate = default;
}
public bSound(
ID id,
char[] name,
PackedFile ptr_packedfile,
object ptr_handle,
PackedFile ptr_newpackedfile,
Ipo ptr_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 ptr_cache,
object ptr_waveform,
object ptr_playback_handle,
object ptr_spinlock,
int audio_channels,
int samplerate) {
this.id = id;
this.name = name;
this.ptr_packedfile = ptr_packedfile;
this.ptr_handle = ptr_handle;
this.ptr_newpackedfile = ptr_newpackedfile;
this.ptr_ipo = ptr_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.ptr_cache = ptr_cache;
this.ptr_waveform = ptr_waveform;
this.ptr_playback_handle = ptr_playback_handle;
this.ptr_spinlock = ptr_spinlock;
this.audio_channels = audio_channels;
this.samplerate = samplerate;
}
}
}