Files
BlenderSharp/BlendFile/DNA/RemeshModifierData.cs

64 lines
2.5 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(496, "RemeshModifierData", 144)]
public struct RemeshModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(1, "float", "threshold", "float", 4, false, 120)]
public float threshold;
[DNAFieldAttribute(2, "float", "scale", "float", 4, false, 124)]
public float scale;
[DNAFieldAttribute(3, "float", "hermite_num", "float", 4, false, 128)]
public float hermite_num;
[DNAFieldAttribute(4, "char", "depth", "char", 1, false, 132)]
public char depth;
[DNAFieldAttribute(5, "char", "flag", "char", 1, false, 133)]
public char flag;
[DNAFieldAttribute(6, "char", "mode", "char", 1, false, 134)]
public char mode;
[DNAFieldAttribute(7, "char", "_pad", "char", 1, false, 135)]
public char _pad;
[DNAFieldAttribute(8, "float", "voxel_size", "float", 4, false, 136)]
public float voxel_size;
[DNAFieldAttribute(9, "float", "adaptivity", "float", 4, false, 140)]
public float adaptivity;
public RemeshModifierData() {
this.modifier = default;
this.threshold = default;
this.scale = default;
this.hermite_num = default;
this.depth = default;
this.flag = default;
this.mode = default;
this._pad = default;
this.voxel_size = default;
this.adaptivity = default;
}
public RemeshModifierData(ModifierData modifier, float threshold, float scale, float hermite_num, char depth, char flag, char mode, char _pad, float voxel_size, float adaptivity) {
this.modifier = modifier;
this.threshold = threshold;
this.scale = scale;
this.hermite_num = hermite_num;
this.depth = depth;
this.flag = flag;
this.mode = mode;
this._pad = _pad;
this.voxel_size = voxel_size;
this.adaptivity = adaptivity;
}
}
}