Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:10 CET 2013 -->
6
<TITLE>
7
MouseJoint (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="MouseJoint (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MouseJoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/GearJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../../index.html?com/badlogic/gdx/physics/box2d/joints/MouseJoint.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="MouseJoint.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.physics.box2d.joints</FONT>
107
<BR>
108
Class MouseJoint</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html" title="class in com.badlogic.gdx.physics.box2d">com.badlogic.gdx.physics.box2d.Joint</A>
112
      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.physics.box2d.joints.MouseJoint</B>
113
</PRE>
114
<HR>
115
<DL>
116
<DT><PRE>public class <B>MouseJoint</B><DT>extends <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html" title="class in com.badlogic.gdx.physics.box2d">Joint</A></DL>
117
</PRE>
118
 
119
<P>
120
A mouse joint is used to make a point on a body track a specified world point. This a soft constraint with a maximum force.
121
 This allows the constraint to stretch and without applying huge forces. NOTE: this joint is not documented in the manual
122
 because it was developed to be used in the testbed. If you want to learn how to use the mouse joint, look at the testbed.
123
<P>
124
 
125
<P>
126
<HR>
127
 
128
<P>
129
<!-- =========== FIELD SUMMARY =========== -->
130
 
131
<A NAME="field_summary"><!-- --></A>
132
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135
<B>Field Summary</B></FONT></TH>
136
</TR>
137
</TABLE>
138
&nbsp;<A NAME="fields_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint"><!-- --></A>
139
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
141
<TH ALIGN="left"><B>Fields inherited from class com.badlogic.gdx.physics.box2d.<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html" title="class in com.badlogic.gdx.physics.box2d">Joint</A></B></TH>
142
</TR>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD><CODE><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#addr">addr</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#jointEdgeA">jointEdgeA</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#jointEdgeB">jointEdgeB</A></CODE></TD>
145
</TR>
146
</TABLE>
147
&nbsp;
148
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
149
 
150
<A NAME="constructor_summary"><!-- --></A>
151
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
152
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
153
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
154
<B>Constructor Summary</B></FONT></TH>
155
</TR>
156
<TR BGCOLOR="white" CLASS="TableRowColor">
157
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#MouseJoint(com.badlogic.gdx.physics.box2d.World, long)">MouseJoint</A></B>(<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A>&nbsp;world,
158
           long&nbsp;addr)</CODE>
159
 
160
<BR>
161
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162
</TR>
163
</TABLE>
164
&nbsp;
165
<!-- ========== METHOD SUMMARY =========== -->
166
 
167
<A NAME="method_summary"><!-- --></A>
168
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
171
<B>Method Summary</B></FONT></TH>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>&nbsp;float</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#getDampingRatio()">getDampingRatio</A></B>()</CODE>
177
 
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/get the damping ratio (dimensionless).</TD>
180
</TR>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>&nbsp;float</CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#getFrequency()">getFrequency</A></B>()</CODE>
185
 
186
<BR>
187
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/get the frequency in Hertz.</TD>
188
</TR>
189
<TR BGCOLOR="white" CLASS="TableRowColor">
190
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191
<CODE>&nbsp;float</CODE></FONT></TD>
192
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#getMaxForce()">getMaxForce</A></B>()</CODE>
193
 
194
<BR>
195
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/get the maximum force in Newtons.</TD>
196
</TR>
197
<TR BGCOLOR="white" CLASS="TableRowColor">
198
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199
<CODE>&nbsp;<A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
200
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#getTarget()">getTarget</A></B>()</CODE>
201
 
202
<BR>
203
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207
<CODE>&nbsp;void</CODE></FONT></TD>
208
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#setDampingRatio(float)">setDampingRatio</A></B>(float&nbsp;ratio)</CODE>
209
 
210
<BR>
211
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/get the damping ratio (dimensionless).</TD>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215
<CODE>&nbsp;void</CODE></FONT></TD>
216
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#setFrequency(float)">setFrequency</A></B>(float&nbsp;hz)</CODE>
217
 
218
<BR>
219
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/get the frequency in Hertz.</TD>
220
</TR>
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>&nbsp;void</CODE></FONT></TD>
224
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#setMaxForce(float)">setMaxForce</A></B>(float&nbsp;force)</CODE>
225
 
226
<BR>
227
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set/get the maximum force in Newtons.</TD>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
<CODE>&nbsp;void</CODE></FONT></TD>
232
<TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html#setTarget(com.badlogic.gdx.math.Vector2)">setTarget</A></B>(<A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;target)</CODE>
233
 
234
<BR>
235
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use this to update the target point.</TD>
236
</TR>
237
</TABLE>
238
&nbsp;<A NAME="methods_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint"><!-- --></A>
239
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
240
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
241
<TH ALIGN="left"><B>Methods inherited from class com.badlogic.gdx.physics.box2d.<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html" title="class in com.badlogic.gdx.physics.box2d">Joint</A></B></TH>
242
</TR>
243
<TR BGCOLOR="white" CLASS="TableRowColor">
244
<TD><CODE><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getAnchorA()">getAnchorA</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getAnchorB()">getAnchorB</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getBodyA()">getBodyA</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getBodyB()">getBodyB</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getReactionForce(float)">getReactionForce</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getReactionTorque(float)">getReactionTorque</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getType()">getType</A>, <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/Joint.html#isActive()">isActive</A></CODE></TD>
245
</TR>
246
</TABLE>
247
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
248
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
249
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
250
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
251
</TR>
252
<TR BGCOLOR="white" CLASS="TableRowColor">
253
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
254
</TR>
255
</TABLE>
256
&nbsp;
257
<P>
258
 
259
<!-- ========= CONSTRUCTOR DETAIL ======== -->
260
 
261
<A NAME="constructor_detail"><!-- --></A>
262
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
263
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
264
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
265
<B>Constructor Detail</B></FONT></TH>
266
</TR>
267
</TABLE>
268
 
269
<A NAME="MouseJoint(com.badlogic.gdx.physics.box2d.World, long)"><!-- --></A><H3>
270
MouseJoint</H3>
271
<PRE>
272
public <B>MouseJoint</B>(<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A>&nbsp;world,
273
                  long&nbsp;addr)</PRE>
274
<DL>
275
</DL>
276
 
277
<!-- ============ METHOD DETAIL ========== -->
278
 
279
<A NAME="method_detail"><!-- --></A>
280
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
283
<B>Method Detail</B></FONT></TH>
284
</TR>
285
</TABLE>
286
 
287
<A NAME="setTarget(com.badlogic.gdx.math.Vector2)"><!-- --></A><H3>
288
setTarget</H3>
289
<PRE>
290
public void <B>setTarget</B>(<A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A>&nbsp;target)</PRE>
291
<DL>
292
<DD>Use this to update the target point.
293
<P>
294
<DD><DL>
295
</DL>
296
</DD>
297
</DL>
298
<HR>
299
 
300
<A NAME="getTarget()"><!-- --></A><H3>
301
getTarget</H3>
302
<PRE>
303
public <A HREF="../../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>getTarget</B>()</PRE>
304
<DL>
305
<DD><DL>
306
</DL>
307
</DD>
308
</DL>
309
<HR>
310
 
311
<A NAME="setMaxForce(float)"><!-- --></A><H3>
312
setMaxForce</H3>
313
<PRE>
314
public void <B>setMaxForce</B>(float&nbsp;force)</PRE>
315
<DL>
316
<DD>Set/get the maximum force in Newtons.
317
<P>
318
<DD><DL>
319
</DL>
320
</DD>
321
</DL>
322
<HR>
323
 
324
<A NAME="getMaxForce()"><!-- --></A><H3>
325
getMaxForce</H3>
326
<PRE>
327
public float <B>getMaxForce</B>()</PRE>
328
<DL>
329
<DD>Set/get the maximum force in Newtons.
330
<P>
331
<DD><DL>
332
</DL>
333
</DD>
334
</DL>
335
<HR>
336
 
337
<A NAME="setFrequency(float)"><!-- --></A><H3>
338
setFrequency</H3>
339
<PRE>
340
public void <B>setFrequency</B>(float&nbsp;hz)</PRE>
341
<DL>
342
<DD>Set/get the frequency in Hertz.
343
<P>
344
<DD><DL>
345
</DL>
346
</DD>
347
</DL>
348
<HR>
349
 
350
<A NAME="getFrequency()"><!-- --></A><H3>
351
getFrequency</H3>
352
<PRE>
353
public float <B>getFrequency</B>()</PRE>
354
<DL>
355
<DD>Set/get the frequency in Hertz.
356
<P>
357
<DD><DL>
358
</DL>
359
</DD>
360
</DL>
361
<HR>
362
 
363
<A NAME="setDampingRatio(float)"><!-- --></A><H3>
364
setDampingRatio</H3>
365
<PRE>
366
public void <B>setDampingRatio</B>(float&nbsp;ratio)</PRE>
367
<DL>
368
<DD>Set/get the damping ratio (dimensionless).
369
<P>
370
<DD><DL>
371
</DL>
372
</DD>
373
</DL>
374
<HR>
375
 
376
<A NAME="getDampingRatio()"><!-- --></A><H3>
377
getDampingRatio</H3>
378
<PRE>
379
public float <B>getDampingRatio</B>()</PRE>
380
<DL>
381
<DD>Set/get the damping ratio (dimensionless).
382
<P>
383
<DD><DL>
384
</DL>
385
</DD>
386
</DL>
387
<!-- ========= END OF CLASS DATA ========= -->
388
<HR>
389
 
390
 
391
<!-- ======= START OF BOTTOM NAVBAR ====== -->
392
<A NAME="navbar_bottom"><!-- --></A>
393
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
394
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
395
<TR>
396
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
397
<A NAME="navbar_bottom_firstrow"><!-- --></A>
398
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
399
  <TR ALIGN="center" VALIGN="top">
400
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
401
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
402
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
403
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MouseJoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
404
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
405
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
406
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
407
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
408
  </TR>
409
</TABLE>
410
</TD>
411
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
412
libgdx API</EM>
413
</TD>
414
</TR>
415
 
416
<TR>
417
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
418
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/GearJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>PREV CLASS</B></A>&nbsp;
419
&nbsp;<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>NEXT CLASS</B></A></FONT></TD>
420
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
421
  <A HREF="../../../../../../index.html?com/badlogic/gdx/physics/box2d/joints/MouseJoint.html" target="_top"><B>FRAMES</B></A>  &nbsp;
422
&nbsp;<A HREF="MouseJoint.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
423
&nbsp;<SCRIPT type="text/javascript">
424
  <!--
425
  if(window==top) {
426
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
427
  }
428
  //-->
429
</SCRIPT>
430
<NOSCRIPT>
431
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
432
</NOSCRIPT>
433
 
434
 
435
</FONT></TD>
436
</TR>
437
<TR>
438
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
439
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
440
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
441
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
442
</TR>
443
</TABLE>
444
<A NAME="skip-navbar_bottom"></A>
445
<!-- ======== END OF BOTTOM NAVBAR ======= -->
446
 
447
<HR>
448
 
449
                                <div style="font-size:9pt"><i>
450
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
451
                                </i></div>
452
 
453
</BODY>
454
</HTML>