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