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

109 lines
4.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(157, "ClothCollSettings", 64)]
public class ClothCollSettings {
[DNAFieldAttribute(4, "float", 1, "epsilon", "float", false, 0)]
public float epsilon;
[DNAFieldAttribute(4, "float", 2, "self_friction", "float", false, 4)]
public float self_friction;
[DNAFieldAttribute(4, "float", 3, "friction", "float", false, 8)]
public float friction;
[DNAFieldAttribute(4, "float", 4, "damping", "float", false, 12)]
public float damping;
[DNAFieldAttribute(4, "float", 5, "selfepsilon", "float", false, 16)]
public float selfepsilon;
[DNAFieldAttribute(4, "float", 6, "repel_force", "float", false, 20)]
public float repel_force;
[DNAFieldAttribute(4, "float", 7, "distance_repel", "float", false, 24)]
public float distance_repel;
[DNAFieldAttribute(4, "int", 8, "flags", "int", false, 28)]
public int flags;
[DNAFieldAttribute(2, "short", 9, "self_loop_count", "short", false, 32)]
public short self_loop_count;
[DNAFieldAttribute(2, "short", 10, "loop_count", "short", false, 34)]
public short loop_count;
[DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, false, 36)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(8, "Collection", 12, "*group", "Collection", true, 40)]
public Collection group;
[DNAFieldAttribute(2, "short", 13, "vgroup_selfcol", "short", false, 48)]
public short vgroup_selfcol;
[DNAFieldAttribute(2, "short", 14, "vgroup_objcol", "short", false, 50)]
public short vgroup_objcol;
[DNAArrayAttribute(4, "char", 15, "_pad2[4]", "System.Char[]", 4, false, 52)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(4, "float", 16, "clamp", "float", false, 56)]
public float clamp;
[DNAFieldAttribute(4, "float", 17, "self_clamp", "float", false, 60)]
public float self_clamp;
public ClothCollSettings() {
this.epsilon = default;
this.self_friction = default;
this.friction = default;
this.damping = default;
this.selfepsilon = default;
this.repel_force = default;
this.distance_repel = default;
this.flags = default;
this.self_loop_count = default;
this.loop_count = default;
this._pad = default;
this.group = default;
this.vgroup_selfcol = default;
this.vgroup_objcol = default;
this._pad2 = default;
this.clamp = default;
this.self_clamp = default;
}
public ClothCollSettings(
float epsilon,
float self_friction,
float friction,
float damping,
float selfepsilon,
float repel_force,
float distance_repel,
int flags,
short self_loop_count,
short loop_count,
char[] _pad,
Collection group,
short vgroup_selfcol,
short vgroup_objcol,
char[] _pad2,
float clamp,
float self_clamp) {
this.epsilon = epsilon;
this.self_friction = self_friction;
this.friction = friction;
this.damping = damping;
this.selfepsilon = selfepsilon;
this.repel_force = repel_force;
this.distance_repel = distance_repel;
this.flags = flags;
this.self_loop_count = self_loop_count;
this.loop_count = loop_count;
this._pad = _pad;
this.group = group;
this.vgroup_selfcol = vgroup_selfcol;
this.vgroup_objcol = vgroup_objcol;
this._pad2 = _pad2;
this.clamp = clamp;
this.self_clamp = self_clamp;
}
}
}