80 lines
3.4 KiB
C#
80 lines
3.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(795, "RigidBodyWorld")]
|
|
public class RigidBodyWorld {
|
|
[DNAFieldAttribute(0, "EffectorWeights", "*effector_weights", 72)]
|
|
public EffectorWeights ptr_effector_weights;
|
|
[DNAFieldAttribute(1, "Collection", "*group", 376)]
|
|
public Collection ptr_group;
|
|
[DNAFieldAttribute(2, "Object", "**objects", 1160)]
|
|
public Object ptr_ptr_objects;
|
|
[DNAFieldAttribute(3, "Collection", "*constraints", 376)]
|
|
public Collection ptr_constraints;
|
|
[DNAFieldAttribute(4, "char", "_pad[4]", 1)]
|
|
public char[] _pad = new System.Char[4];
|
|
[DNAFieldAttribute(5, "float", "ltime", 4)]
|
|
public float ltime;
|
|
[DNAFieldAttribute(6, "RigidBodyWorld_Shared", "*shared", 32)]
|
|
public RigidBodyWorld_Shared ptr_shared;
|
|
[DNAFieldAttribute(7, "PointCache", "*pointcache", 1392)]
|
|
public PointCache ptr_pointcache;
|
|
[DNAFieldAttribute(8, "ListBase", "ptcaches", 16)]
|
|
public ListBase ptcaches;
|
|
[DNAFieldAttribute(9, "int", "numbodies", 4)]
|
|
public int numbodies;
|
|
[DNAFieldAttribute(10, "short", "steps_per_second", 2)]
|
|
public short steps_per_second;
|
|
[DNAFieldAttribute(11, "short", "num_solver_iterations", 2)]
|
|
public short num_solver_iterations;
|
|
[DNAFieldAttribute(12, "int", "flag", 4)]
|
|
public int flag;
|
|
[DNAFieldAttribute(13, "float", "time_scale", 4)]
|
|
public float time_scale;
|
|
public RigidBodyWorld() {
|
|
this.ptr_effector_weights = default;
|
|
this.ptr_group = default;
|
|
this.ptr_ptr_objects = default;
|
|
this.ptr_constraints = default;
|
|
this._pad = default;
|
|
this.ltime = default;
|
|
this.ptr_shared = default;
|
|
this.ptr_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 ptr_effector_weights, Collection ptr_group, Object ptr_ptr_objects, Collection ptr_constraints, char[] _pad, float ltime, RigidBodyWorld_Shared ptr_shared, PointCache ptr_pointcache, ListBase ptcaches, int numbodies, short steps_per_second, short num_solver_iterations, int flag, float time_scale) {
|
|
this.ptr_effector_weights = ptr_effector_weights;
|
|
this.ptr_group = ptr_group;
|
|
this.ptr_ptr_objects = ptr_ptr_objects;
|
|
this.ptr_constraints = ptr_constraints;
|
|
this._pad = _pad;
|
|
this.ltime = ltime;
|
|
this.ptr_shared = ptr_shared;
|
|
this.ptr_pointcache = ptr_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;
|
|
}
|
|
}
|
|
}
|