Files
BlenderSharp/BlendFile/DNA/ClothModifierData.cs
2025-03-12 19:02:40 +01:00

72 lines
3.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(464, "ClothModifierData", 224)]
public class ClothModifierData {
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(8, "Cloth", 1, "*clothObject", "Cloth", true, 120)]
public Cloth clothObject;
[DNAFieldAttribute(8, "ClothSimSettings", 2, "*sim_parms", "ClothSimSettings", true, 128)]
public ClothSimSettings sim_parms;
[DNAFieldAttribute(8, "ClothCollSettings", 3, "*coll_parms", "ClothCollSettings", true, 136)]
public ClothCollSettings coll_parms;
[DNAFieldAttribute(8, "PointCache", 4, "*point_cache", "PointCache", true, 144)]
public PointCache point_cache;
[DNAFieldAttribute(16, "ListBase", 5, "ptcaches", "ListBase", false, 152)]
public ListBase ptcaches;
[DNAFieldAttribute(8, "ClothHairData", 6, "*hairdata", "ClothHairData", true, 168)]
public ClothHairData hairdata;
[DNAArrayAttribute(12, "float", 7, "hair_grid_min[3]", "System.Single[]", 3, false, 176)]
public float[] hair_grid_min = new System.Single[3];
[DNAArrayAttribute(12, "float", 8, "hair_grid_max[3]", "System.Single[]", 3, false, 188)]
public float[] hair_grid_max = new System.Single[3];
[DNAArrayAttribute(12, "int", 9, "hair_grid_res[3]", "System.Int32[]", 3, false, 200)]
public int[] hair_grid_res = new System.Int32[3];
[DNAFieldAttribute(4, "float", 10, "hair_grid_cellsize", "float", false, 212)]
public float hair_grid_cellsize;
[DNAFieldAttribute(8, "ClothSolverResult", 11, "*solver_result", "ClothSolverResult", true, 216)]
public ClothSolverResult solver_result;
public ClothModifierData() {
this.modifier = default;
this.clothObject = default;
this.sim_parms = default;
this.coll_parms = default;
this.point_cache = default;
this.ptcaches = default;
this.hairdata = default;
this.hair_grid_min = default;
this.hair_grid_max = default;
this.hair_grid_res = default;
this.hair_grid_cellsize = default;
this.solver_result = default;
}
public ClothModifierData(ModifierData modifier, Cloth clothObject, ClothSimSettings sim_parms, ClothCollSettings coll_parms, PointCache point_cache, ListBase ptcaches, ClothHairData hairdata, float[] hair_grid_min, float[] hair_grid_max, int[] hair_grid_res, float hair_grid_cellsize, ClothSolverResult solver_result) {
this.modifier = modifier;
this.clothObject = clothObject;
this.sim_parms = sim_parms;
this.coll_parms = coll_parms;
this.point_cache = point_cache;
this.ptcaches = ptcaches;
this.hairdata = hairdata;
this.hair_grid_min = hair_grid_min;
this.hair_grid_max = hair_grid_max;
this.hair_grid_res = hair_grid_res;
this.hair_grid_cellsize = hair_grid_cellsize;
this.solver_result = solver_result;
}
}
}