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 btWheelInfoConstructionInfo extends BulletBase {
\r
17 private long swigCPtr;
\r
19 protected btWheelInfoConstructionInfo(final String className, long cPtr, boolean cMemoryOwn) {
\r
20 super(className, cPtr, cMemoryOwn);
\r
24 protected btWheelInfoConstructionInfo(long cPtr, boolean cMemoryOwn) {
\r
25 this("btWheelInfoConstructionInfo", cPtr, cMemoryOwn);
\r
30 protected void reset(long cPtr, boolean cMemoryOwn) {
\r
33 super.reset(swigCPtr = cPtr, cMemoryOwn);
\r
36 public static long getCPtr(btWheelInfoConstructionInfo obj) {
\r
37 return (obj == null) ? 0 : obj.swigCPtr;
\r
41 protected void finalize() throws Throwable {
\r
47 @Override protected synchronized void delete() {
\r
48 if (swigCPtr != 0) {
\r
50 swigCMemOwn = false;
\r
51 gdxBulletJNI.delete_btWheelInfoConstructionInfo(swigCPtr);
\r
58 public void setChassisConnectionCS(btVector3 value) {
\r
59 gdxBulletJNI.btWheelInfoConstructionInfo_chassisConnectionCS_set(swigCPtr, this, btVector3.getCPtr(value), value);
\r
62 public btVector3 getChassisConnectionCS() {
\r
63 long cPtr = gdxBulletJNI.btWheelInfoConstructionInfo_chassisConnectionCS_get(swigCPtr, this);
\r
64 return (cPtr == 0) ? null : new btVector3(cPtr, false);
\r
67 public void setWheelDirectionCS(btVector3 value) {
\r
68 gdxBulletJNI.btWheelInfoConstructionInfo_wheelDirectionCS_set(swigCPtr, this, btVector3.getCPtr(value), value);
\r
71 public btVector3 getWheelDirectionCS() {
\r
72 long cPtr = gdxBulletJNI.btWheelInfoConstructionInfo_wheelDirectionCS_get(swigCPtr, this);
\r
73 return (cPtr == 0) ? null : new btVector3(cPtr, false);
\r
76 public void setWheelAxleCS(btVector3 value) {
\r
77 gdxBulletJNI.btWheelInfoConstructionInfo_wheelAxleCS_set(swigCPtr, this, btVector3.getCPtr(value), value);
\r
80 public btVector3 getWheelAxleCS() {
\r
81 long cPtr = gdxBulletJNI.btWheelInfoConstructionInfo_wheelAxleCS_get(swigCPtr, this);
\r
82 return (cPtr == 0) ? null : new btVector3(cPtr, false);
\r
85 public void setSuspensionRestLength(float value) {
\r
86 gdxBulletJNI.btWheelInfoConstructionInfo_suspensionRestLength_set(swigCPtr, this, value);
\r
89 public float getSuspensionRestLength() {
\r
90 return gdxBulletJNI.btWheelInfoConstructionInfo_suspensionRestLength_get(swigCPtr, this);
\r
93 public void setMaxSuspensionTravelCm(float value) {
\r
94 gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionTravelCm_set(swigCPtr, this, value);
\r
97 public float getMaxSuspensionTravelCm() {
\r
98 return gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionTravelCm_get(swigCPtr, this);
\r
101 public void setWheelRadius(float value) {
\r
102 gdxBulletJNI.btWheelInfoConstructionInfo_wheelRadius_set(swigCPtr, this, value);
\r
105 public float getWheelRadius() {
\r
106 return gdxBulletJNI.btWheelInfoConstructionInfo_wheelRadius_get(swigCPtr, this);
\r
109 public void setSuspensionStiffness(float value) {
\r
110 gdxBulletJNI.btWheelInfoConstructionInfo_suspensionStiffness_set(swigCPtr, this, value);
\r
113 public float getSuspensionStiffness() {
\r
114 return gdxBulletJNI.btWheelInfoConstructionInfo_suspensionStiffness_get(swigCPtr, this);
\r
117 public void setWheelsDampingCompression(float value) {
\r
118 gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingCompression_set(swigCPtr, this, value);
\r
121 public float getWheelsDampingCompression() {
\r
122 return gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingCompression_get(swigCPtr, this);
\r
125 public void setWheelsDampingRelaxation(float value) {
\r
126 gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingRelaxation_set(swigCPtr, this, value);
\r
129 public float getWheelsDampingRelaxation() {
\r
130 return gdxBulletJNI.btWheelInfoConstructionInfo_wheelsDampingRelaxation_get(swigCPtr, this);
\r
133 public void setFrictionSlip(float value) {
\r
134 gdxBulletJNI.btWheelInfoConstructionInfo_frictionSlip_set(swigCPtr, this, value);
\r
137 public float getFrictionSlip() {
\r
138 return gdxBulletJNI.btWheelInfoConstructionInfo_frictionSlip_get(swigCPtr, this);
\r
141 public void setMaxSuspensionForce(float value) {
\r
142 gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionForce_set(swigCPtr, this, value);
\r
145 public float getMaxSuspensionForce() {
\r
146 return gdxBulletJNI.btWheelInfoConstructionInfo_maxSuspensionForce_get(swigCPtr, this);
\r
149 public void setBIsFrontWheel(boolean value) {
\r
150 gdxBulletJNI.btWheelInfoConstructionInfo_bIsFrontWheel_set(swigCPtr, this, value);
\r
153 public boolean getBIsFrontWheel() {
\r
154 return gdxBulletJNI.btWheelInfoConstructionInfo_bIsFrontWheel_get(swigCPtr, this);
\r
157 public btWheelInfoConstructionInfo() {
\r
158 this(gdxBulletJNI.new_btWheelInfoConstructionInfo(), true);
\r