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 btDispatcherInfo extends BulletBase {
\r
17 private long swigCPtr;
\r
19 protected btDispatcherInfo(final String className, long cPtr, boolean cMemoryOwn) {
\r
20 super(className, cPtr, cMemoryOwn);
\r
24 protected btDispatcherInfo(long cPtr, boolean cMemoryOwn) {
\r
25 this("btDispatcherInfo", cPtr, cMemoryOwn);
\r
29 public static long getCPtr(btDispatcherInfo 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_btDispatcherInfo(swigCPtr);
\r
51 public btDispatcherInfo() {
\r
52 this(gdxBulletJNI.new_btDispatcherInfo(), true);
\r
55 public void setTimeStep(float value) {
\r
56 gdxBulletJNI.btDispatcherInfo_timeStep_set(swigCPtr, this, value);
\r
59 public float getTimeStep() {
\r
60 return gdxBulletJNI.btDispatcherInfo_timeStep_get(swigCPtr, this);
\r
63 public void setStepCount(int value) {
\r
64 gdxBulletJNI.btDispatcherInfo_stepCount_set(swigCPtr, this, value);
\r
67 public int getStepCount() {
\r
68 return gdxBulletJNI.btDispatcherInfo_stepCount_get(swigCPtr, this);
\r
71 public void setDispatchFunc(int value) {
\r
72 gdxBulletJNI.btDispatcherInfo_dispatchFunc_set(swigCPtr, this, value);
\r
75 public int getDispatchFunc() {
\r
76 return gdxBulletJNI.btDispatcherInfo_dispatchFunc_get(swigCPtr, this);
\r
79 public void setTimeOfImpact(float value) {
\r
80 gdxBulletJNI.btDispatcherInfo_timeOfImpact_set(swigCPtr, this, value);
\r
83 public float getTimeOfImpact() {
\r
84 return gdxBulletJNI.btDispatcherInfo_timeOfImpact_get(swigCPtr, this);
\r
87 public void setUseContinuous(boolean value) {
\r
88 gdxBulletJNI.btDispatcherInfo_useContinuous_set(swigCPtr, this, value);
\r
91 public boolean getUseContinuous() {
\r
92 return gdxBulletJNI.btDispatcherInfo_useContinuous_get(swigCPtr, this);
\r
95 public void setDebugDraw(btIDebugDraw value) {
\r
96 gdxBulletJNI.btDispatcherInfo_debugDraw_set(swigCPtr, this, btIDebugDraw.getCPtr(value), value);
\r
99 public btIDebugDraw getDebugDraw() {
\r
100 long cPtr = gdxBulletJNI.btDispatcherInfo_debugDraw_get(swigCPtr, this);
\r
101 return (cPtr == 0) ? null : new btIDebugDraw(cPtr, false);
\r
104 public void setEnableSatConvex(boolean value) {
\r
105 gdxBulletJNI.btDispatcherInfo_enableSatConvex_set(swigCPtr, this, value);
\r
108 public boolean getEnableSatConvex() {
\r
109 return gdxBulletJNI.btDispatcherInfo_enableSatConvex_get(swigCPtr, this);
\r
112 public void setEnableSPU(boolean value) {
\r
113 gdxBulletJNI.btDispatcherInfo_enableSPU_set(swigCPtr, this, value);
\r
116 public boolean getEnableSPU() {
\r
117 return gdxBulletJNI.btDispatcherInfo_enableSPU_get(swigCPtr, this);
\r
120 public void setUseEpa(boolean value) {
\r
121 gdxBulletJNI.btDispatcherInfo_useEpa_set(swigCPtr, this, value);
\r
124 public boolean getUseEpa() {
\r
125 return gdxBulletJNI.btDispatcherInfo_useEpa_get(swigCPtr, this);
\r
128 public void setAllowedCcdPenetration(float value) {
\r
129 gdxBulletJNI.btDispatcherInfo_allowedCcdPenetration_set(swigCPtr, this, value);
\r
132 public float getAllowedCcdPenetration() {
\r
133 return gdxBulletJNI.btDispatcherInfo_allowedCcdPenetration_get(swigCPtr, this);
\r
136 public void setUseConvexConservativeDistanceUtil(boolean value) {
\r
137 gdxBulletJNI.btDispatcherInfo_useConvexConservativeDistanceUtil_set(swigCPtr, this, value);
\r
140 public boolean getUseConvexConservativeDistanceUtil() {
\r
141 return gdxBulletJNI.btDispatcherInfo_useConvexConservativeDistanceUtil_get(swigCPtr, this);
\r
144 public void setConvexConservativeDistanceThreshold(float value) {
\r
145 gdxBulletJNI.btDispatcherInfo_convexConservativeDistanceThreshold_set(swigCPtr, this, value);
\r
148 public float getConvexConservativeDistanceThreshold() {
\r
149 return gdxBulletJNI.btDispatcherInfo_convexConservativeDistanceThreshold_get(swigCPtr, this);
\r
152 public void setStackAllocator(btStackAlloc value) {
\r
153 gdxBulletJNI.btDispatcherInfo_stackAllocator_set(swigCPtr, this, btStackAlloc.getCPtr(value), value);
\r
156 public btStackAlloc getStackAllocator() {
\r
157 long cPtr = gdxBulletJNI.btDispatcherInfo_stackAllocator_get(swigCPtr, this);
\r
158 return (cPtr == 0) ? null : new btStackAlloc(cPtr, false);
\r
161 public final static class DispatchFunc {
\r
162 public final static int DISPATCH_DISCRETE = 1;
\r
163 public final static int DISPATCH_CONTINUOUS = DISPATCH_DISCRETE + 1;
\r