114 lines
4.5 KiB
C#
114 lines
4.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(770, "RigidBodyOb", 88)]
|
|
public class RigidBodyOb {
|
|
[DNAFieldAttribute(0, "short", "type", "short", 2, false)]
|
|
public short type;
|
|
[DNAFieldAttribute(1, "short", "shape", "short", 2, false)]
|
|
public short shape;
|
|
[DNAFieldAttribute(2, "int", "flag", "int", 4, false)]
|
|
public int flag;
|
|
[DNAFieldAttribute(3, "int", "col_groups", "int", 4, false)]
|
|
public int col_groups;
|
|
[DNAFieldAttribute(4, "short", "mesh_source", "short", 2, false)]
|
|
public short mesh_source;
|
|
[DNAFieldAttribute(5, "char", "_pad[2]", "System.Char[]", 2, false)]
|
|
public char[] _pad = new System.Char[2];
|
|
[DNAFieldAttribute(6, "float", "mass", "float", 4, false)]
|
|
public float mass;
|
|
[DNAFieldAttribute(7, "float", "friction", "float", 4, false)]
|
|
public float friction;
|
|
[DNAFieldAttribute(8, "float", "restitution", "float", 4, false)]
|
|
public float restitution;
|
|
[DNAFieldAttribute(9, "float", "margin", "float", 4, false)]
|
|
public float margin;
|
|
[DNAFieldAttribute(10, "float", "lin_damping", "float", 4, false)]
|
|
public float lin_damping;
|
|
[DNAFieldAttribute(11, "float", "ang_damping", "float", 4, false)]
|
|
public float ang_damping;
|
|
[DNAFieldAttribute(12, "float", "lin_sleep_thresh", "float", 4, false)]
|
|
public float lin_sleep_thresh;
|
|
[DNAFieldAttribute(13, "float", "ang_sleep_thresh", "float", 4, false)]
|
|
public float ang_sleep_thresh;
|
|
[DNAFieldAttribute(14, "float", "orn[4]", "System.Single[]", 16, false)]
|
|
public float[] orn = new System.Single[4];
|
|
[DNAFieldAttribute(15, "float", "pos[3]", "System.Single[]", 12, false)]
|
|
public float[] pos = new System.Single[3];
|
|
[DNAFieldAttribute(16, "char", "_pad1[4]", "System.Char[]", 4, false)]
|
|
public char[] _pad1 = new System.Char[4];
|
|
[DNAFieldAttribute(17, "RigidBodyOb_Shared", "*shared", "RigidBodyOb_Shared", 8, true)]
|
|
public RigidBodyOb_Shared ptr_shared;
|
|
public RigidBodyOb() {
|
|
this.type = default;
|
|
this.shape = default;
|
|
this.flag = default;
|
|
this.col_groups = default;
|
|
this.mesh_source = default;
|
|
this._pad = default;
|
|
this.mass = default;
|
|
this.friction = default;
|
|
this.restitution = default;
|
|
this.margin = default;
|
|
this.lin_damping = default;
|
|
this.ang_damping = default;
|
|
this.lin_sleep_thresh = default;
|
|
this.ang_sleep_thresh = default;
|
|
this.orn = default;
|
|
this.pos = default;
|
|
this._pad1 = default;
|
|
this.ptr_shared = default;
|
|
}
|
|
public RigidBodyOb(
|
|
short type,
|
|
short shape,
|
|
int flag,
|
|
int col_groups,
|
|
short mesh_source,
|
|
char[] _pad,
|
|
float mass,
|
|
float friction,
|
|
float restitution,
|
|
float margin,
|
|
float lin_damping,
|
|
float ang_damping,
|
|
float lin_sleep_thresh,
|
|
float ang_sleep_thresh,
|
|
float[] orn,
|
|
float[] pos,
|
|
char[] _pad1,
|
|
RigidBodyOb_Shared ptr_shared) {
|
|
this.type = type;
|
|
this.shape = shape;
|
|
this.flag = flag;
|
|
this.col_groups = col_groups;
|
|
this.mesh_source = mesh_source;
|
|
this._pad = _pad;
|
|
this.mass = mass;
|
|
this.friction = friction;
|
|
this.restitution = restitution;
|
|
this.margin = margin;
|
|
this.lin_damping = lin_damping;
|
|
this.ang_damping = ang_damping;
|
|
this.lin_sleep_thresh = lin_sleep_thresh;
|
|
this.ang_sleep_thresh = ang_sleep_thresh;
|
|
this.orn = orn;
|
|
this.pos = pos;
|
|
this._pad1 = _pad1;
|
|
this.ptr_shared = ptr_shared;
|
|
}
|
|
}
|
|
}
|