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

80 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(795, "RigidBodyWorld", 88)]
public class RigidBodyWorld {
[DNAFieldAttribute(8, "EffectorWeights", 0, "*effector_weights", "EffectorWeights", true, 0)]
public EffectorWeights effector_weights;
[DNAFieldAttribute(8, "Collection", 1, "*group", "Collection", true, 8)]
public Collection group;
[DNAFieldAttribute(8, "Object", 2, "**objects", "Object", true, 16)]
public Object objects;
[DNAFieldAttribute(8, "Collection", 3, "*constraints", "Collection", true, 24)]
public Collection constraints;
[DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, false, 32)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(4, "float", 5, "ltime", "float", false, 36)]
public float ltime;
[DNAFieldAttribute(8, "RigidBodyWorld_Shared", 6, "*shared", "RigidBodyWorld_Shared", true, 40)]
public RigidBodyWorld_Shared shared;
[DNAFieldAttribute(8, "PointCache", 7, "*pointcache", "PointCache", true, 48)]
public PointCache pointcache;
[DNAFieldAttribute(16, "ListBase", 8, "ptcaches", "ListBase", false, 56)]
public ListBase ptcaches;
[DNAFieldAttribute(4, "int", 9, "numbodies", "int", false, 72)]
public int numbodies;
[DNAFieldAttribute(2, "short", 10, "steps_per_second", "short", false, 76)]
public short steps_per_second;
[DNAFieldAttribute(2, "short", 11, "num_solver_iterations", "short", false, 78)]
public short num_solver_iterations;
[DNAFieldAttribute(4, "int", 12, "flag", "int", false, 80)]
public int flag;
[DNAFieldAttribute(4, "float", 13, "time_scale", "float", false, 84)]
public float time_scale;
public RigidBodyWorld() {
this.effector_weights = default;
this.group = default;
this.objects = default;
this.constraints = default;
this._pad = default;
this.ltime = default;
this.shared = default;
this.pointcache = default;
this.ptcaches = default;
this.numbodies = default;
this.steps_per_second = default;
this.num_solver_iterations = default;
this.flag = default;
this.time_scale = default;
}
public RigidBodyWorld(EffectorWeights effector_weights, Collection group, Object objects, Collection constraints, char[] _pad, float ltime, RigidBodyWorld_Shared shared, PointCache pointcache, ListBase ptcaches, int numbodies, short steps_per_second, short num_solver_iterations, int flag, float time_scale) {
this.effector_weights = effector_weights;
this.group = group;
this.objects = objects;
this.constraints = constraints;
this._pad = _pad;
this.ltime = ltime;
this.shared = shared;
this.pointcache = pointcache;
this.ptcaches = ptcaches;
this.numbodies = numbodies;
this.steps_per_second = steps_per_second;
this.num_solver_iterations = num_solver_iterations;
this.flag = flag;
this.time_scale = time_scale;
}
}
}