Files
BlenderSharp/BlendFile/DNA/ClothCollSettings.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

94 lines
3.6 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")]
public class ClothCollSettings {
[DNAFieldAttribute(0, "LinkNode", "*collision_list", 0)]
public LinkNode ptr_collision_list;
[DNAFieldAttribute(1, "float", "epsilon", 4)]
public float epsilon;
[DNAFieldAttribute(2, "float", "self_friction", 4)]
public float self_friction;
[DNAFieldAttribute(3, "float", "friction", 4)]
public float friction;
[DNAFieldAttribute(4, "float", "damping", 4)]
public float damping;
[DNAFieldAttribute(5, "float", "selfepsilon", 4)]
public float selfepsilon;
[DNAFieldAttribute(6, "float", "repel_force", 4)]
public float repel_force;
[DNAFieldAttribute(7, "float", "distance_repel", 4)]
public float distance_repel;
[DNAFieldAttribute(8, "int", "flags", 4)]
public int flags;
[DNAFieldAttribute(9, "short", "self_loop_count", 2)]
public short self_loop_count;
[DNAFieldAttribute(10, "short", "loop_count", 2)]
public short loop_count;
[DNAFieldAttribute(11, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(12, "Collection", "*group", 376)]
public Collection ptr_group;
[DNAFieldAttribute(13, "short", "vgroup_selfcol", 2)]
public short vgroup_selfcol;
[DNAFieldAttribute(14, "short", "vgroup_objcol", 2)]
public short vgroup_objcol;
[DNAFieldAttribute(15, "char", "_pad2[4]", 1)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(16, "float", "clamp", 4)]
public float clamp;
[DNAFieldAttribute(17, "float", "self_clamp", 4)]
public float self_clamp;
public ClothCollSettings(
LinkNode ptr_collision_list,
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 ptr_group,
short vgroup_selfcol,
short vgroup_objcol,
char[] _pad2,
float clamp,
float self_clamp) {
this.ptr_collision_list = ptr_collision_list;
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.ptr_group = ptr_group;
this.vgroup_selfcol = vgroup_selfcol;
this.vgroup_objcol = vgroup_objcol;
this._pad2 = _pad2;
this.clamp = clamp;
this.self_clamp = self_clamp;
}
}
}