//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; public class RigidBodyOb { [DNAFieldAttribute(0, "short", "type", 2)] public short type; [DNAFieldAttribute(1, "short", "shape", 2)] public short shape; [DNAFieldAttribute(2, "int", "flag", 4)] public int flag; [DNAFieldAttribute(3, "int", "col_groups", 4)] public int col_groups; [DNAFieldAttribute(4, "short", "mesh_source", 2)] public short mesh_source; [DNAFieldAttribute(5, "char", "_pad[2]", 1)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(6, "float", "mass", 4)] public float mass; [DNAFieldAttribute(7, "float", "friction", 4)] public float friction; [DNAFieldAttribute(8, "float", "restitution", 4)] public float restitution; [DNAFieldAttribute(9, "float", "margin", 4)] public float margin; [DNAFieldAttribute(10, "float", "lin_damping", 4)] public float lin_damping; [DNAFieldAttribute(11, "float", "ang_damping", 4)] public float ang_damping; [DNAFieldAttribute(12, "float", "lin_sleep_thresh", 4)] public float lin_sleep_thresh; [DNAFieldAttribute(13, "float", "ang_sleep_thresh", 4)] public float ang_sleep_thresh; [DNAFieldAttribute(14, "float", "orn[4]", 4)] public float[] orn = new System.Single[4]; [DNAFieldAttribute(15, "float", "pos[3]", 4)] public float[] pos = new System.Single[3]; [DNAFieldAttribute(16, "char", "_pad1[4]", 1)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(17, "RigidBodyOb_Shared", "*shared", 0)] public RigidBodyOb_Shared ptr_shared; 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; } } }