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 | PrismaticJoint (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="PrismaticJoint (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> </TD> |
||
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PrismaticJoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>PREV CLASS</B></A> |
||
| 74 | <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJointDef.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/PrismaticJoint.html" target="_top"><B>FRAMES</B></A> |
||
| 77 | <A HREF="PrismaticJoint.html" target="_top"><B>NO FRAMES</B></A> |
||
| 78 | <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: NESTED | <A HREF="#fields_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 95 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 96 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 PrismaticJoint</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.PrismaticJoint</B> |
||
| 113 | </PRE> |
||
| 114 | <HR> |
||
| 115 | <DL> |
||
| 116 | <DT><PRE>public class <B>PrismaticJoint</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 prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in body1. Relative rotation is |
||
| 121 | prevented. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint |
||
| 122 | friction. |
||
| 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 | <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 | |
||
| 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/PrismaticJoint.html#PrismaticJoint(com.badlogic.gdx.physics.box2d.World, long)">PrismaticJoint</A></B>(<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A> world, |
||
| 158 | long addr)</CODE> |
||
| 159 | |||
| 160 | <BR> |
||
| 161 | </TD> |
||
| 162 | </TR> |
||
| 163 | </TABLE> |
||
| 164 | |
||
| 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> void</CODE></FONT></TD> |
||
| 176 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#enableLimit(boolean)">enableLimit</A></B>(boolean flag)</CODE> |
||
| 177 | |||
| 178 | <BR> |
||
| 179 | Enable/disable the joint limit.</TD> |
||
| 180 | </TR> |
||
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 183 | <CODE> void</CODE></FONT></TD> |
||
| 184 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#enableMotor(boolean)">enableMotor</A></B>(boolean flag)</CODE> |
||
| 185 | |||
| 186 | <BR> |
||
| 187 | Enable/disable the joint motor.</TD> |
||
| 188 | </TR> |
||
| 189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 191 | <CODE> float</CODE></FONT></TD> |
||
| 192 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#getJointSpeed()">getJointSpeed</A></B>()</CODE> |
||
| 193 | |||
| 194 | <BR> |
||
| 195 | Get the current joint translation speed, usually in meters per second.</TD> |
||
| 196 | </TR> |
||
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 199 | <CODE> float</CODE></FONT></TD> |
||
| 200 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#getJointTranslation()">getJointTranslation</A></B>()</CODE> |
||
| 201 | |||
| 202 | <BR> |
||
| 203 | Get the current joint translation, usually in meters.</TD> |
||
| 204 | </TR> |
||
| 205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 207 | <CODE> float</CODE></FONT></TD> |
||
| 208 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#getLowerLimit()">getLowerLimit</A></B>()</CODE> |
||
| 209 | |||
| 210 | <BR> |
||
| 211 | Get the lower joint limit, usually in meters.</TD> |
||
| 212 | </TR> |
||
| 213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 215 | <CODE> float</CODE></FONT></TD> |
||
| 216 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#getMotorForce(float)">getMotorForce</A></B>(float invDt)</CODE> |
||
| 217 | |||
| 218 | <BR> |
||
| 219 | Get the current motor force given the inverse time step, usually in N.</TD> |
||
| 220 | </TR> |
||
| 221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 223 | <CODE> float</CODE></FONT></TD> |
||
| 224 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#getMotorSpeed()">getMotorSpeed</A></B>()</CODE> |
||
| 225 | |||
| 226 | <BR> |
||
| 227 | Get the motor speed, usually in meters per second.</TD> |
||
| 228 | </TR> |
||
| 229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 231 | <CODE> float</CODE></FONT></TD> |
||
| 232 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#getUpperLimit()">getUpperLimit</A></B>()</CODE> |
||
| 233 | |||
| 234 | <BR> |
||
| 235 | Get the upper joint limit, usually in meters.</TD> |
||
| 236 | </TR> |
||
| 237 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 238 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 239 | <CODE> boolean</CODE></FONT></TD> |
||
| 240 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#isLimitEnabled()">isLimitEnabled</A></B>()</CODE> |
||
| 241 | |||
| 242 | <BR> |
||
| 243 | Is the joint limit enabled?</TD> |
||
| 244 | </TR> |
||
| 245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 247 | <CODE> boolean</CODE></FONT></TD> |
||
| 248 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#isMotorEnabled()">isMotorEnabled</A></B>()</CODE> |
||
| 249 | |||
| 250 | <BR> |
||
| 251 | Is the joint motor enabled?</TD> |
||
| 252 | </TR> |
||
| 253 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 255 | <CODE> void</CODE></FONT></TD> |
||
| 256 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#setLimits(float, float)">setLimits</A></B>(float lower, |
||
| 257 | float upper)</CODE> |
||
| 258 | |||
| 259 | <BR> |
||
| 260 | Set the joint limits, usually in meters.</TD> |
||
| 261 | </TR> |
||
| 262 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 263 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 264 | <CODE> void</CODE></FONT></TD> |
||
| 265 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#setMaxMotorForce(float)">setMaxMotorForce</A></B>(float force)</CODE> |
||
| 266 | |||
| 267 | <BR> |
||
| 268 | Set the maximum motor force, usually in N.</TD> |
||
| 269 | </TR> |
||
| 270 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 271 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
| 272 | <CODE> void</CODE></FONT></TD> |
||
| 273 | <TD><CODE><B><A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html#setMotorSpeed(float)">setMotorSpeed</A></B>(float speed)</CODE> |
||
| 274 | |||
| 275 | <BR> |
||
| 276 | Set the motor speed, usually in meters per second.</TD> |
||
| 277 | </TR> |
||
| 278 | </TABLE> |
||
| 279 | <A NAME="methods_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint"><!-- --></A> |
||
| 280 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 281 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 282 | <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> |
||
| 283 | </TR> |
||
| 284 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 285 | <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> |
||
| 286 | </TR> |
||
| 287 | </TABLE> |
||
| 288 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
||
| 289 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 290 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
| 291 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
||
| 292 | </TR> |
||
| 293 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
| 294 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
||
| 295 | </TR> |
||
| 296 | </TABLE> |
||
| 297 | |
||
| 298 | <P> |
||
| 299 | |||
| 300 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
||
| 301 | |||
| 302 | <A NAME="constructor_detail"><!-- --></A> |
||
| 303 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 304 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 305 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 306 | <B>Constructor Detail</B></FONT></TH> |
||
| 307 | </TR> |
||
| 308 | </TABLE> |
||
| 309 | |||
| 310 | <A NAME="PrismaticJoint(com.badlogic.gdx.physics.box2d.World, long)"><!-- --></A><H3> |
||
| 311 | PrismaticJoint</H3> |
||
| 312 | <PRE> |
||
| 313 | public <B>PrismaticJoint</B>(<A HREF="../../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A> world, |
||
| 314 | long addr)</PRE> |
||
| 315 | <DL> |
||
| 316 | </DL> |
||
| 317 | |||
| 318 | <!-- ============ METHOD DETAIL ========== --> |
||
| 319 | |||
| 320 | <A NAME="method_detail"><!-- --></A> |
||
| 321 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
| 322 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
| 323 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
||
| 324 | <B>Method Detail</B></FONT></TH> |
||
| 325 | </TR> |
||
| 326 | </TABLE> |
||
| 327 | |||
| 328 | <A NAME="getJointTranslation()"><!-- --></A><H3> |
||
| 329 | getJointTranslation</H3> |
||
| 330 | <PRE> |
||
| 331 | public float <B>getJointTranslation</B>()</PRE> |
||
| 332 | <DL> |
||
| 333 | <DD>Get the current joint translation, usually in meters. |
||
| 334 | <P> |
||
| 335 | <DD><DL> |
||
| 336 | </DL> |
||
| 337 | </DD> |
||
| 338 | </DL> |
||
| 339 | <HR> |
||
| 340 | |||
| 341 | <A NAME="getJointSpeed()"><!-- --></A><H3> |
||
| 342 | getJointSpeed</H3> |
||
| 343 | <PRE> |
||
| 344 | public float <B>getJointSpeed</B>()</PRE> |
||
| 345 | <DL> |
||
| 346 | <DD>Get the current joint translation speed, usually in meters per second. |
||
| 347 | <P> |
||
| 348 | <DD><DL> |
||
| 349 | </DL> |
||
| 350 | </DD> |
||
| 351 | </DL> |
||
| 352 | <HR> |
||
| 353 | |||
| 354 | <A NAME="isLimitEnabled()"><!-- --></A><H3> |
||
| 355 | isLimitEnabled</H3> |
||
| 356 | <PRE> |
||
| 357 | public boolean <B>isLimitEnabled</B>()</PRE> |
||
| 358 | <DL> |
||
| 359 | <DD>Is the joint limit enabled? |
||
| 360 | <P> |
||
| 361 | <DD><DL> |
||
| 362 | </DL> |
||
| 363 | </DD> |
||
| 364 | </DL> |
||
| 365 | <HR> |
||
| 366 | |||
| 367 | <A NAME="enableLimit(boolean)"><!-- --></A><H3> |
||
| 368 | enableLimit</H3> |
||
| 369 | <PRE> |
||
| 370 | public void <B>enableLimit</B>(boolean flag)</PRE> |
||
| 371 | <DL> |
||
| 372 | <DD>Enable/disable the joint limit. |
||
| 373 | <P> |
||
| 374 | <DD><DL> |
||
| 375 | </DL> |
||
| 376 | </DD> |
||
| 377 | </DL> |
||
| 378 | <HR> |
||
| 379 | |||
| 380 | <A NAME="getLowerLimit()"><!-- --></A><H3> |
||
| 381 | getLowerLimit</H3> |
||
| 382 | <PRE> |
||
| 383 | public float <B>getLowerLimit</B>()</PRE> |
||
| 384 | <DL> |
||
| 385 | <DD>Get the lower joint limit, usually in meters. |
||
| 386 | <P> |
||
| 387 | <DD><DL> |
||
| 388 | </DL> |
||
| 389 | </DD> |
||
| 390 | </DL> |
||
| 391 | <HR> |
||
| 392 | |||
| 393 | <A NAME="getUpperLimit()"><!-- --></A><H3> |
||
| 394 | getUpperLimit</H3> |
||
| 395 | <PRE> |
||
| 396 | public float <B>getUpperLimit</B>()</PRE> |
||
| 397 | <DL> |
||
| 398 | <DD>Get the upper joint limit, usually in meters. |
||
| 399 | <P> |
||
| 400 | <DD><DL> |
||
| 401 | </DL> |
||
| 402 | </DD> |
||
| 403 | </DL> |
||
| 404 | <HR> |
||
| 405 | |||
| 406 | <A NAME="setLimits(float, float)"><!-- --></A><H3> |
||
| 407 | setLimits</H3> |
||
| 408 | <PRE> |
||
| 409 | public void <B>setLimits</B>(float lower, |
||
| 410 | float upper)</PRE> |
||
| 411 | <DL> |
||
| 412 | <DD>Set the joint limits, usually in meters. |
||
| 413 | <P> |
||
| 414 | <DD><DL> |
||
| 415 | </DL> |
||
| 416 | </DD> |
||
| 417 | </DL> |
||
| 418 | <HR> |
||
| 419 | |||
| 420 | <A NAME="isMotorEnabled()"><!-- --></A><H3> |
||
| 421 | isMotorEnabled</H3> |
||
| 422 | <PRE> |
||
| 423 | public boolean <B>isMotorEnabled</B>()</PRE> |
||
| 424 | <DL> |
||
| 425 | <DD>Is the joint motor enabled? |
||
| 426 | <P> |
||
| 427 | <DD><DL> |
||
| 428 | </DL> |
||
| 429 | </DD> |
||
| 430 | </DL> |
||
| 431 | <HR> |
||
| 432 | |||
| 433 | <A NAME="enableMotor(boolean)"><!-- --></A><H3> |
||
| 434 | enableMotor</H3> |
||
| 435 | <PRE> |
||
| 436 | public void <B>enableMotor</B>(boolean flag)</PRE> |
||
| 437 | <DL> |
||
| 438 | <DD>Enable/disable the joint motor. |
||
| 439 | <P> |
||
| 440 | <DD><DL> |
||
| 441 | </DL> |
||
| 442 | </DD> |
||
| 443 | </DL> |
||
| 444 | <HR> |
||
| 445 | |||
| 446 | <A NAME="setMotorSpeed(float)"><!-- --></A><H3> |
||
| 447 | setMotorSpeed</H3> |
||
| 448 | <PRE> |
||
| 449 | public void <B>setMotorSpeed</B>(float speed)</PRE> |
||
| 450 | <DL> |
||
| 451 | <DD>Set the motor speed, usually in meters per second. |
||
| 452 | <P> |
||
| 453 | <DD><DL> |
||
| 454 | </DL> |
||
| 455 | </DD> |
||
| 456 | </DL> |
||
| 457 | <HR> |
||
| 458 | |||
| 459 | <A NAME="getMotorSpeed()"><!-- --></A><H3> |
||
| 460 | getMotorSpeed</H3> |
||
| 461 | <PRE> |
||
| 462 | public float <B>getMotorSpeed</B>()</PRE> |
||
| 463 | <DL> |
||
| 464 | <DD>Get the motor speed, usually in meters per second. |
||
| 465 | <P> |
||
| 466 | <DD><DL> |
||
| 467 | </DL> |
||
| 468 | </DD> |
||
| 469 | </DL> |
||
| 470 | <HR> |
||
| 471 | |||
| 472 | <A NAME="setMaxMotorForce(float)"><!-- --></A><H3> |
||
| 473 | setMaxMotorForce</H3> |
||
| 474 | <PRE> |
||
| 475 | public void <B>setMaxMotorForce</B>(float force)</PRE> |
||
| 476 | <DL> |
||
| 477 | <DD>Set the maximum motor force, usually in N. |
||
| 478 | <P> |
||
| 479 | <DD><DL> |
||
| 480 | </DL> |
||
| 481 | </DD> |
||
| 482 | </DL> |
||
| 483 | <HR> |
||
| 484 | |||
| 485 | <A NAME="getMotorForce(float)"><!-- --></A><H3> |
||
| 486 | getMotorForce</H3> |
||
| 487 | <PRE> |
||
| 488 | public float <B>getMotorForce</B>(float invDt)</PRE> |
||
| 489 | <DL> |
||
| 490 | <DD>Get the current motor force given the inverse time step, usually in N. |
||
| 491 | <P> |
||
| 492 | <DD><DL> |
||
| 493 | </DL> |
||
| 494 | </DD> |
||
| 495 | </DL> |
||
| 496 | <!-- ========= END OF CLASS DATA ========= --> |
||
| 497 | <HR> |
||
| 498 | |||
| 499 | |||
| 500 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
||
| 501 | <A NAME="navbar_bottom"><!-- --></A> |
||
| 502 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
| 503 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
| 504 | <TR> |
||
| 505 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
| 506 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
| 507 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
| 508 | <TR ALIGN="center" VALIGN="top"> |
||
| 509 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
| 510 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
| 511 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
| 512 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PrismaticJoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
| 513 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
| 514 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
| 515 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
| 516 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
| 517 | </TR> |
||
| 518 | </TABLE> |
||
| 519 | </TD> |
||
| 520 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
| 521 | libgdx API</EM> |
||
| 522 | </TD> |
||
| 523 | </TR> |
||
| 524 | |||
| 525 | <TR> |
||
| 526 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 527 | <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>PREV CLASS</B></A> |
||
| 528 | <A HREF="../../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJointDef.html" title="class in com.badlogic.gdx.physics.box2d.joints"><B>NEXT CLASS</B></A></FONT></TD> |
||
| 529 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
| 530 | <A HREF="../../../../../../index.html?com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html" target="_top"><B>FRAMES</B></A> |
||
| 531 | <A HREF="PrismaticJoint.html" target="_top"><B>NO FRAMES</B></A> |
||
| 532 | <SCRIPT type="text/javascript"> |
||
| 533 | <!-- |
||
| 534 | if(window==top) { |
||
| 535 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
||
| 536 | } |
||
| 537 | //--> |
||
| 538 | </SCRIPT> |
||
| 539 | <NOSCRIPT> |
||
| 540 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
| 541 | </NOSCRIPT> |
||
| 542 | |||
| 543 | |||
| 544 | </FONT></TD> |
||
| 545 | </TR> |
||
| 546 | <TR> |
||
| 547 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 548 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.badlogic.gdx.physics.box2d.Joint">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
| 549 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
| 550 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
| 551 | </TR> |
||
| 552 | </TABLE> |
||
| 553 | <A NAME="skip-navbar_bottom"></A> |
||
| 554 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
||
| 555 | |||
| 556 | <HR> |
||
| 557 | |||
| 558 | <div style="font-size:9pt"><i> |
||
| 559 | Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) |
||
| 560 | </i></div> |
||
| 561 | |||
| 562 | </BODY> |
||
| 563 | </HTML> |