209 lines
10 KiB
C#
209 lines
10 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(771, "RigidBodyCon", 152)]
|
|
public class RigidBodyCon {
|
|
[DNAFieldAttribute(8, "Object", 0, "*ob1", "Object", true, 0)]
|
|
public Object ob1;
|
|
[DNAFieldAttribute(8, "Object", 1, "*ob2", "Object", true, 8)]
|
|
public Object ob2;
|
|
[DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)]
|
|
public short type;
|
|
[DNAFieldAttribute(2, "short", 3, "num_solver_iterations", "short", false, 18)]
|
|
public short num_solver_iterations;
|
|
[DNAFieldAttribute(4, "int", 4, "flag", "int", false, 20)]
|
|
public int flag;
|
|
[DNAFieldAttribute(4, "float", 5, "breaking_threshold", "float", false, 24)]
|
|
public float breaking_threshold;
|
|
[DNAFieldAttribute(1, "char", 6, "spring_type", "char", false, 28)]
|
|
public char spring_type;
|
|
[DNAArrayAttribute(3, "char", 7, "_pad[3]", "System.Char[]", 3, 29)]
|
|
public char[] _pad = new System.Char[3];
|
|
[DNAFieldAttribute(4, "float", 8, "limit_lin_x_lower", "float", false, 32)]
|
|
public float limit_lin_x_lower;
|
|
[DNAFieldAttribute(4, "float", 9, "limit_lin_x_upper", "float", false, 36)]
|
|
public float limit_lin_x_upper;
|
|
[DNAFieldAttribute(4, "float", 10, "limit_lin_y_lower", "float", false, 40)]
|
|
public float limit_lin_y_lower;
|
|
[DNAFieldAttribute(4, "float", 11, "limit_lin_y_upper", "float", false, 44)]
|
|
public float limit_lin_y_upper;
|
|
[DNAFieldAttribute(4, "float", 12, "limit_lin_z_lower", "float", false, 48)]
|
|
public float limit_lin_z_lower;
|
|
[DNAFieldAttribute(4, "float", 13, "limit_lin_z_upper", "float", false, 52)]
|
|
public float limit_lin_z_upper;
|
|
[DNAFieldAttribute(4, "float", 14, "limit_ang_x_lower", "float", false, 56)]
|
|
public float limit_ang_x_lower;
|
|
[DNAFieldAttribute(4, "float", 15, "limit_ang_x_upper", "float", false, 60)]
|
|
public float limit_ang_x_upper;
|
|
[DNAFieldAttribute(4, "float", 16, "limit_ang_y_lower", "float", false, 64)]
|
|
public float limit_ang_y_lower;
|
|
[DNAFieldAttribute(4, "float", 17, "limit_ang_y_upper", "float", false, 68)]
|
|
public float limit_ang_y_upper;
|
|
[DNAFieldAttribute(4, "float", 18, "limit_ang_z_lower", "float", false, 72)]
|
|
public float limit_ang_z_lower;
|
|
[DNAFieldAttribute(4, "float", 19, "limit_ang_z_upper", "float", false, 76)]
|
|
public float limit_ang_z_upper;
|
|
[DNAFieldAttribute(4, "float", 20, "spring_stiffness_x", "float", false, 80)]
|
|
public float spring_stiffness_x;
|
|
[DNAFieldAttribute(4, "float", 21, "spring_stiffness_y", "float", false, 84)]
|
|
public float spring_stiffness_y;
|
|
[DNAFieldAttribute(4, "float", 22, "spring_stiffness_z", "float", false, 88)]
|
|
public float spring_stiffness_z;
|
|
[DNAFieldAttribute(4, "float", 23, "spring_stiffness_ang_x", "float", false, 92)]
|
|
public float spring_stiffness_ang_x;
|
|
[DNAFieldAttribute(4, "float", 24, "spring_stiffness_ang_y", "float", false, 96)]
|
|
public float spring_stiffness_ang_y;
|
|
[DNAFieldAttribute(4, "float", 25, "spring_stiffness_ang_z", "float", false, 100)]
|
|
public float spring_stiffness_ang_z;
|
|
[DNAFieldAttribute(4, "float", 26, "spring_damping_x", "float", false, 104)]
|
|
public float spring_damping_x;
|
|
[DNAFieldAttribute(4, "float", 27, "spring_damping_y", "float", false, 108)]
|
|
public float spring_damping_y;
|
|
[DNAFieldAttribute(4, "float", 28, "spring_damping_z", "float", false, 112)]
|
|
public float spring_damping_z;
|
|
[DNAFieldAttribute(4, "float", 29, "spring_damping_ang_x", "float", false, 116)]
|
|
public float spring_damping_ang_x;
|
|
[DNAFieldAttribute(4, "float", 30, "spring_damping_ang_y", "float", false, 120)]
|
|
public float spring_damping_ang_y;
|
|
[DNAFieldAttribute(4, "float", 31, "spring_damping_ang_z", "float", false, 124)]
|
|
public float spring_damping_ang_z;
|
|
[DNAFieldAttribute(4, "float", 32, "motor_lin_target_velocity", "float", false, 128)]
|
|
public float motor_lin_target_velocity;
|
|
[DNAFieldAttribute(4, "float", 33, "motor_ang_target_velocity", "float", false, 132)]
|
|
public float motor_ang_target_velocity;
|
|
[DNAFieldAttribute(4, "float", 34, "motor_lin_max_impulse", "float", false, 136)]
|
|
public float motor_lin_max_impulse;
|
|
[DNAFieldAttribute(4, "float", 35, "motor_ang_max_impulse", "float", false, 140)]
|
|
public float motor_ang_max_impulse;
|
|
[DNAFieldAttribute(8, "void", 36, "*physics_constraint", "void", true, 144)]
|
|
public object physics_constraint;
|
|
public RigidBodyCon() {
|
|
this.ob1 = default;
|
|
this.ob2 = default;
|
|
this.type = default;
|
|
this.num_solver_iterations = default;
|
|
this.flag = default;
|
|
this.breaking_threshold = default;
|
|
this.spring_type = default;
|
|
this._pad = default;
|
|
this.limit_lin_x_lower = default;
|
|
this.limit_lin_x_upper = default;
|
|
this.limit_lin_y_lower = default;
|
|
this.limit_lin_y_upper = default;
|
|
this.limit_lin_z_lower = default;
|
|
this.limit_lin_z_upper = default;
|
|
this.limit_ang_x_lower = default;
|
|
this.limit_ang_x_upper = default;
|
|
this.limit_ang_y_lower = default;
|
|
this.limit_ang_y_upper = default;
|
|
this.limit_ang_z_lower = default;
|
|
this.limit_ang_z_upper = default;
|
|
this.spring_stiffness_x = default;
|
|
this.spring_stiffness_y = default;
|
|
this.spring_stiffness_z = default;
|
|
this.spring_stiffness_ang_x = default;
|
|
this.spring_stiffness_ang_y = default;
|
|
this.spring_stiffness_ang_z = default;
|
|
this.spring_damping_x = default;
|
|
this.spring_damping_y = default;
|
|
this.spring_damping_z = default;
|
|
this.spring_damping_ang_x = default;
|
|
this.spring_damping_ang_y = default;
|
|
this.spring_damping_ang_z = default;
|
|
this.motor_lin_target_velocity = default;
|
|
this.motor_ang_target_velocity = default;
|
|
this.motor_lin_max_impulse = default;
|
|
this.motor_ang_max_impulse = default;
|
|
this.physics_constraint = default;
|
|
}
|
|
public RigidBodyCon(
|
|
Object ob1,
|
|
Object ob2,
|
|
short type,
|
|
short num_solver_iterations,
|
|
int flag,
|
|
float breaking_threshold,
|
|
char spring_type,
|
|
char[] _pad,
|
|
float limit_lin_x_lower,
|
|
float limit_lin_x_upper,
|
|
float limit_lin_y_lower,
|
|
float limit_lin_y_upper,
|
|
float limit_lin_z_lower,
|
|
float limit_lin_z_upper,
|
|
float limit_ang_x_lower,
|
|
float limit_ang_x_upper,
|
|
float limit_ang_y_lower,
|
|
float limit_ang_y_upper,
|
|
float limit_ang_z_lower,
|
|
float limit_ang_z_upper,
|
|
float spring_stiffness_x,
|
|
float spring_stiffness_y,
|
|
float spring_stiffness_z,
|
|
float spring_stiffness_ang_x,
|
|
float spring_stiffness_ang_y,
|
|
float spring_stiffness_ang_z,
|
|
float spring_damping_x,
|
|
float spring_damping_y,
|
|
float spring_damping_z,
|
|
float spring_damping_ang_x,
|
|
float spring_damping_ang_y,
|
|
float spring_damping_ang_z,
|
|
float motor_lin_target_velocity,
|
|
float motor_ang_target_velocity,
|
|
float motor_lin_max_impulse,
|
|
float motor_ang_max_impulse,
|
|
object physics_constraint) {
|
|
this.ob1 = ob1;
|
|
this.ob2 = ob2;
|
|
this.type = type;
|
|
this.num_solver_iterations = num_solver_iterations;
|
|
this.flag = flag;
|
|
this.breaking_threshold = breaking_threshold;
|
|
this.spring_type = spring_type;
|
|
this._pad = _pad;
|
|
this.limit_lin_x_lower = limit_lin_x_lower;
|
|
this.limit_lin_x_upper = limit_lin_x_upper;
|
|
this.limit_lin_y_lower = limit_lin_y_lower;
|
|
this.limit_lin_y_upper = limit_lin_y_upper;
|
|
this.limit_lin_z_lower = limit_lin_z_lower;
|
|
this.limit_lin_z_upper = limit_lin_z_upper;
|
|
this.limit_ang_x_lower = limit_ang_x_lower;
|
|
this.limit_ang_x_upper = limit_ang_x_upper;
|
|
this.limit_ang_y_lower = limit_ang_y_lower;
|
|
this.limit_ang_y_upper = limit_ang_y_upper;
|
|
this.limit_ang_z_lower = limit_ang_z_lower;
|
|
this.limit_ang_z_upper = limit_ang_z_upper;
|
|
this.spring_stiffness_x = spring_stiffness_x;
|
|
this.spring_stiffness_y = spring_stiffness_y;
|
|
this.spring_stiffness_z = spring_stiffness_z;
|
|
this.spring_stiffness_ang_x = spring_stiffness_ang_x;
|
|
this.spring_stiffness_ang_y = spring_stiffness_ang_y;
|
|
this.spring_stiffness_ang_z = spring_stiffness_ang_z;
|
|
this.spring_damping_x = spring_damping_x;
|
|
this.spring_damping_y = spring_damping_y;
|
|
this.spring_damping_z = spring_damping_z;
|
|
this.spring_damping_ang_x = spring_damping_ang_x;
|
|
this.spring_damping_ang_y = spring_damping_ang_y;
|
|
this.spring_damping_ang_z = spring_damping_ang_z;
|
|
this.motor_lin_target_velocity = motor_lin_target_velocity;
|
|
this.motor_ang_target_velocity = motor_ang_target_velocity;
|
|
this.motor_lin_max_impulse = motor_lin_max_impulse;
|
|
this.motor_ang_max_impulse = motor_ang_max_impulse;
|
|
this.physics_constraint = physics_constraint;
|
|
}
|
|
}
|
|
}
|