OSDN Git Service

f81f13f1fd42f6743cf46bf1902f7ae93e372f6f
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btDispatcherInfo.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.10\r
4  *\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
8 \r
9 package com.badlogic.gdx.physics.bullet;\r
10 \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
15 \r
16 public class btDispatcherInfo extends BulletBase {\r
17         private long swigCPtr;\r
18         \r
19         protected btDispatcherInfo(final String className, long cPtr, boolean cMemoryOwn) {\r
20                 super(className, cPtr, cMemoryOwn);\r
21                 swigCPtr = cPtr;\r
22         }\r
23         \r
24         protected btDispatcherInfo(long cPtr, boolean cMemoryOwn) {\r
25                 this("btDispatcherInfo", cPtr, cMemoryOwn);\r
26                 construct();\r
27         }\r
28         \r
29         public static long getCPtr(btDispatcherInfo obj) {\r
30                 return (obj == null) ? 0 : obj.swigCPtr;\r
31         }\r
32 \r
33         @Override\r
34         protected void finalize() throws Throwable {\r
35                 if (!destroyed)\r
36                         destroy();\r
37                 super.finalize();\r
38         }\r
39 \r
40   @Override protected synchronized void delete() {\r
41                 if (swigCPtr != 0) {\r
42                         if (swigCMemOwn) {\r
43                                 swigCMemOwn = false;\r
44                                 gdxBulletJNI.delete_btDispatcherInfo(swigCPtr);\r
45                         }\r
46                         swigCPtr = 0;\r
47                 }\r
48                 super.delete();\r
49         }\r
50 \r
51   public btDispatcherInfo() {\r
52     this(gdxBulletJNI.new_btDispatcherInfo(), true);\r
53   }\r
54 \r
55   public void setTimeStep(float value) {\r
56     gdxBulletJNI.btDispatcherInfo_timeStep_set(swigCPtr, this, value);\r
57   }\r
58 \r
59   public float getTimeStep() {\r
60     return gdxBulletJNI.btDispatcherInfo_timeStep_get(swigCPtr, this);\r
61   }\r
62 \r
63   public void setStepCount(int value) {\r
64     gdxBulletJNI.btDispatcherInfo_stepCount_set(swigCPtr, this, value);\r
65   }\r
66 \r
67   public int getStepCount() {\r
68     return gdxBulletJNI.btDispatcherInfo_stepCount_get(swigCPtr, this);\r
69   }\r
70 \r
71   public void setDispatchFunc(int value) {\r
72     gdxBulletJNI.btDispatcherInfo_dispatchFunc_set(swigCPtr, this, value);\r
73   }\r
74 \r
75   public int getDispatchFunc() {\r
76     return gdxBulletJNI.btDispatcherInfo_dispatchFunc_get(swigCPtr, this);\r
77   }\r
78 \r
79   public void setTimeOfImpact(float value) {\r
80     gdxBulletJNI.btDispatcherInfo_timeOfImpact_set(swigCPtr, this, value);\r
81   }\r
82 \r
83   public float getTimeOfImpact() {\r
84     return gdxBulletJNI.btDispatcherInfo_timeOfImpact_get(swigCPtr, this);\r
85   }\r
86 \r
87   public void setUseContinuous(boolean value) {\r
88     gdxBulletJNI.btDispatcherInfo_useContinuous_set(swigCPtr, this, value);\r
89   }\r
90 \r
91   public boolean getUseContinuous() {\r
92     return gdxBulletJNI.btDispatcherInfo_useContinuous_get(swigCPtr, this);\r
93   }\r
94 \r
95   public void setDebugDraw(btIDebugDraw value) {\r
96     gdxBulletJNI.btDispatcherInfo_debugDraw_set(swigCPtr, this, btIDebugDraw.getCPtr(value), value);\r
97   }\r
98 \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
102   }\r
103 \r
104   public void setEnableSatConvex(boolean value) {\r
105     gdxBulletJNI.btDispatcherInfo_enableSatConvex_set(swigCPtr, this, value);\r
106   }\r
107 \r
108   public boolean getEnableSatConvex() {\r
109     return gdxBulletJNI.btDispatcherInfo_enableSatConvex_get(swigCPtr, this);\r
110   }\r
111 \r
112   public void setEnableSPU(boolean value) {\r
113     gdxBulletJNI.btDispatcherInfo_enableSPU_set(swigCPtr, this, value);\r
114   }\r
115 \r
116   public boolean getEnableSPU() {\r
117     return gdxBulletJNI.btDispatcherInfo_enableSPU_get(swigCPtr, this);\r
118   }\r
119 \r
120   public void setUseEpa(boolean value) {\r
121     gdxBulletJNI.btDispatcherInfo_useEpa_set(swigCPtr, this, value);\r
122   }\r
123 \r
124   public boolean getUseEpa() {\r
125     return gdxBulletJNI.btDispatcherInfo_useEpa_get(swigCPtr, this);\r
126   }\r
127 \r
128   public void setAllowedCcdPenetration(float value) {\r
129     gdxBulletJNI.btDispatcherInfo_allowedCcdPenetration_set(swigCPtr, this, value);\r
130   }\r
131 \r
132   public float getAllowedCcdPenetration() {\r
133     return gdxBulletJNI.btDispatcherInfo_allowedCcdPenetration_get(swigCPtr, this);\r
134   }\r
135 \r
136   public void setUseConvexConservativeDistanceUtil(boolean value) {\r
137     gdxBulletJNI.btDispatcherInfo_useConvexConservativeDistanceUtil_set(swigCPtr, this, value);\r
138   }\r
139 \r
140   public boolean getUseConvexConservativeDistanceUtil() {\r
141     return gdxBulletJNI.btDispatcherInfo_useConvexConservativeDistanceUtil_get(swigCPtr, this);\r
142   }\r
143 \r
144   public void setConvexConservativeDistanceThreshold(float value) {\r
145     gdxBulletJNI.btDispatcherInfo_convexConservativeDistanceThreshold_set(swigCPtr, this, value);\r
146   }\r
147 \r
148   public float getConvexConservativeDistanceThreshold() {\r
149     return gdxBulletJNI.btDispatcherInfo_convexConservativeDistanceThreshold_get(swigCPtr, this);\r
150   }\r
151 \r
152   public void setStackAllocator(btStackAlloc value) {\r
153     gdxBulletJNI.btDispatcherInfo_stackAllocator_set(swigCPtr, this, btStackAlloc.getCPtr(value), value);\r
154   }\r
155 \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
159   }\r
160 \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
164   }\r
165 \r
166 }\r