Files
BlenderSharp/BlendFile/DNA/FMod_FunctionGenerator.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

40 lines
1.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(82, "FMod_FunctionGenerator")]
public struct FMod_FunctionGenerator {
[DNAFieldAttribute(0, "float", "amplitude", 4)]
public float amplitude;
[DNAFieldAttribute(1, "float", "phase_multiplier", 4)]
public float phase_multiplier;
[DNAFieldAttribute(2, "float", "phase_offset", 4)]
public float phase_offset;
[DNAFieldAttribute(3, "float", "value_offset", 4)]
public float value_offset;
[DNAFieldAttribute(4, "int", "type", 4)]
public int type;
[DNAFieldAttribute(5, "int", "flag", 4)]
public int flag;
public FMod_FunctionGenerator(float amplitude, float phase_multiplier, float phase_offset, float value_offset, int type, int flag) {
this.amplitude = amplitude;
this.phase_multiplier = phase_multiplier;
this.phase_offset = phase_offset;
this.value_offset = value_offset;
this.type = type;
this.flag = flag;
}
}
}