1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * Do not make changes to this file unless you know what you are doing--modify
\r
6 * the SWIG interface file instead.
\r
7 * ----------------------------------------------------------------------------- */
\r
9 package com.badlogic.gdx.physics.bullet;
\r
11 import com.badlogic.gdx.math.Vector3;
\r
12 import com.badlogic.gdx.math.Quaternion;
\r
13 import com.badlogic.gdx.math.Matrix3;
\r
14 import com.badlogic.gdx.math.Matrix4;
\r
16 public class SoftBodyMaterialData extends BulletBase {
\r
17 private long swigCPtr;
\r
19 protected SoftBodyMaterialData(final String className, long cPtr, boolean cMemoryOwn) {
\r
20 super(className, cPtr, cMemoryOwn);
\r
24 protected SoftBodyMaterialData(long cPtr, boolean cMemoryOwn) {
\r
25 this("SoftBodyMaterialData", cPtr, cMemoryOwn);
\r
29 public static long getCPtr(SoftBodyMaterialData obj) {
\r
30 return (obj == null) ? 0 : obj.swigCPtr;
\r
34 protected void finalize() throws Throwable {
\r
40 @Override protected synchronized void delete() {
\r
41 if (swigCPtr != 0) {
\r
43 swigCMemOwn = false;
\r
44 gdxBulletJNI.delete_SoftBodyMaterialData(swigCPtr);
\r
51 public void setLinearStiffness(float value) {
\r
52 gdxBulletJNI.SoftBodyMaterialData_linearStiffness_set(swigCPtr, this, value);
\r
55 public float getLinearStiffness() {
\r
56 return gdxBulletJNI.SoftBodyMaterialData_linearStiffness_get(swigCPtr, this);
\r
59 public void setAngularStiffness(float value) {
\r
60 gdxBulletJNI.SoftBodyMaterialData_angularStiffness_set(swigCPtr, this, value);
\r
63 public float getAngularStiffness() {
\r
64 return gdxBulletJNI.SoftBodyMaterialData_angularStiffness_get(swigCPtr, this);
\r
67 public void setVolumeStiffness(float value) {
\r
68 gdxBulletJNI.SoftBodyMaterialData_volumeStiffness_set(swigCPtr, this, value);
\r
71 public float getVolumeStiffness() {
\r
72 return gdxBulletJNI.SoftBodyMaterialData_volumeStiffness_get(swigCPtr, this);
\r
75 public void setFlags(int value) {
\r
76 gdxBulletJNI.SoftBodyMaterialData_flags_set(swigCPtr, this, value);
\r
79 public int getFlags() {
\r
80 return gdxBulletJNI.SoftBodyMaterialData_flags_get(swigCPtr, this);
\r
83 public SoftBodyMaterialData() {
\r
84 this(gdxBulletJNI.new_SoftBodyMaterialData(), true);
\r