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(0, "Object", "*ob1", "Object", 8, true)]
|
|
public Object ptr_ob1;
|
|
[DNAFieldAttribute(1, "Object", "*ob2", "Object", 8, true)]
|
|
public Object ptr_ob2;
|
|
[DNAFieldAttribute(2, "short", "type", "short", 2, false)]
|
|
public short type;
|
|
[DNAFieldAttribute(3, "short", "num_solver_iterations", "short", 2, false)]
|
|
public short num_solver_iterations;
|
|
[DNAFieldAttribute(4, "int", "flag", "int", 4, false)]
|
|
public int flag;
|
|
[DNAFieldAttribute(5, "float", "breaking_threshold", "float", 4, false)]
|
|
public float breaking_threshold;
|
|
[DNAFieldAttribute(6, "char", "spring_type", "char", 1, false)]
|
|
public char spring_type;
|
|
[DNAFieldAttribute(7, "char", "_pad[3]", "System.Char[]", 3, false)]
|
|
public char[] _pad = new System.Char[3];
|
|
[DNAFieldAttribute(8, "float", "limit_lin_x_lower", "float", 4, false)]
|
|
public float limit_lin_x_lower;
|
|
[DNAFieldAttribute(9, "float", "limit_lin_x_upper", "float", 4, false)]
|
|
public float limit_lin_x_upper;
|
|
[DNAFieldAttribute(10, "float", "limit_lin_y_lower", "float", 4, false)]
|
|
public float limit_lin_y_lower;
|
|
[DNAFieldAttribute(11, "float", "limit_lin_y_upper", "float", 4, false)]
|
|
public float limit_lin_y_upper;
|
|
[DNAFieldAttribute(12, "float", "limit_lin_z_lower", "float", 4, false)]
|
|
public float limit_lin_z_lower;
|
|
[DNAFieldAttribute(13, "float", "limit_lin_z_upper", "float", 4, false)]
|
|
public float limit_lin_z_upper;
|
|
[DNAFieldAttribute(14, "float", "limit_ang_x_lower", "float", 4, false)]
|
|
public float limit_ang_x_lower;
|
|
[DNAFieldAttribute(15, "float", "limit_ang_x_upper", "float", 4, false)]
|
|
public float limit_ang_x_upper;
|
|
[DNAFieldAttribute(16, "float", "limit_ang_y_lower", "float", 4, false)]
|
|
public float limit_ang_y_lower;
|
|
[DNAFieldAttribute(17, "float", "limit_ang_y_upper", "float", 4, false)]
|
|
public float limit_ang_y_upper;
|
|
[DNAFieldAttribute(18, "float", "limit_ang_z_lower", "float", 4, false)]
|
|
public float limit_ang_z_lower;
|
|
[DNAFieldAttribute(19, "float", "limit_ang_z_upper", "float", 4, false)]
|
|
public float limit_ang_z_upper;
|
|
[DNAFieldAttribute(20, "float", "spring_stiffness_x", "float", 4, false)]
|
|
public float spring_stiffness_x;
|
|
[DNAFieldAttribute(21, "float", "spring_stiffness_y", "float", 4, false)]
|
|
public float spring_stiffness_y;
|
|
[DNAFieldAttribute(22, "float", "spring_stiffness_z", "float", 4, false)]
|
|
public float spring_stiffness_z;
|
|
[DNAFieldAttribute(23, "float", "spring_stiffness_ang_x", "float", 4, false)]
|
|
public float spring_stiffness_ang_x;
|
|
[DNAFieldAttribute(24, "float", "spring_stiffness_ang_y", "float", 4, false)]
|
|
public float spring_stiffness_ang_y;
|
|
[DNAFieldAttribute(25, "float", "spring_stiffness_ang_z", "float", 4, false)]
|
|
public float spring_stiffness_ang_z;
|
|
[DNAFieldAttribute(26, "float", "spring_damping_x", "float", 4, false)]
|
|
public float spring_damping_x;
|
|
[DNAFieldAttribute(27, "float", "spring_damping_y", "float", 4, false)]
|
|
public float spring_damping_y;
|
|
[DNAFieldAttribute(28, "float", "spring_damping_z", "float", 4, false)]
|
|
public float spring_damping_z;
|
|
[DNAFieldAttribute(29, "float", "spring_damping_ang_x", "float", 4, false)]
|
|
public float spring_damping_ang_x;
|
|
[DNAFieldAttribute(30, "float", "spring_damping_ang_y", "float", 4, false)]
|
|
public float spring_damping_ang_y;
|
|
[DNAFieldAttribute(31, "float", "spring_damping_ang_z", "float", 4, false)]
|
|
public float spring_damping_ang_z;
|
|
[DNAFieldAttribute(32, "float", "motor_lin_target_velocity", "float", 4, false)]
|
|
public float motor_lin_target_velocity;
|
|
[DNAFieldAttribute(33, "float", "motor_ang_target_velocity", "float", 4, false)]
|
|
public float motor_ang_target_velocity;
|
|
[DNAFieldAttribute(34, "float", "motor_lin_max_impulse", "float", 4, false)]
|
|
public float motor_lin_max_impulse;
|
|
[DNAFieldAttribute(35, "float", "motor_ang_max_impulse", "float", 4, false)]
|
|
public float motor_ang_max_impulse;
|
|
[DNAFieldAttribute(36, "void", "*physics_constraint", "void", 8, true)]
|
|
public object ptr_physics_constraint;
|
|
public RigidBodyCon() {
|
|
this.ptr_ob1 = default;
|
|
this.ptr_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.ptr_physics_constraint = default;
|
|
}
|
|
public RigidBodyCon(
|
|
Object ptr_ob1,
|
|
Object ptr_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 ptr_physics_constraint) {
|
|
this.ptr_ob1 = ptr_ob1;
|
|
this.ptr_ob2 = ptr_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.ptr_physics_constraint = ptr_physics_constraint;
|
|
}
|
|
}
|
|
}
|