GearJoint:setRatio

GearJoint:setRatio Set the ratio of a gear joint. Function Synopsis GearJoint:setRatio( ratio ) Arguments number ratio The new ratio of the joint. Returns Nothing. See Also GearJoint

GearJoint:getJoints

GearJoint:getJoints Available since LÖVE 0.9.2 This function is not supported in earlier versions. Get the Joints connected by this GearJoint. Function Synopsis joint1, joint2 = GearJoint:getJoints( ) Arguments None. Returns Joint joint1 The first connected Joint. Joint joint2 The second connected Joint. See Also GearJoint

GearJoint:getRatio

GearJoint:getRatio Get the ratio of a gear joint. Function Synopsis ratio = GearJoint:getRatio( ) Arguments None. Returns number ratio The ratio of the joint. See Also GearJoint

FrictionJoint:setMaxTorque

FrictionJoint:setMaxTorque Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the maximum friction torque in Newton-meters. Function Synopsis FrictionJoint:setMaxTorque( torque ) Arguments number torque Maximum torque in Newton-meters. Returns Nothing. See Also FrictionJoint FrictionJoint:getMaxTorque

FrictionJoint:setMaxForce

FrictionJoint:setMaxForce Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the maximum friction force in Newtons. Function Synopsis FrictionJoint:setMaxForce( force ) Arguments number maxForce Max force in Newtons. Returns Nothing. See Also FrictionJoint FrictionJoint:getMaxForce

FrictionJoint:getMaxTorque

FrictionJoint:getMaxTorque Available since LÖVE 0.8.0 This function is not supported in earlier versions. Gets the maximum friction torque in Newton-meters. Function Synopsis torque = FrictionJoint:getMaxTorque( ) Arguments None. Returns number torque Maximum torque in Newton-meters. See Also FrictionJoint FrictionJoint:setMaxTorque

FrictionJoint:getMaxForce

FrictionJoint:getMaxForce Available since LÖVE 0.8.0 This function is not supported in earlier versions. Gets the maximum friction force in Newtons. Function Synopsis force = FrictionJoint:getMaxForce( ) Arguments None. Returns number force Maximum force in Newtons. See Also FrictionJoint FrictionJoint:setMaxForce

Framebuffer:setWrap

Framebuffer:setWrap Available since LÖVE 0.7.2 This function is not supported in earlier versions. Removed in LÖVE 0.8.0 It has been renamed to Canvas:setWrap. Sets the wrapping properties of a Framebuffer. This function sets the way the edges of a Framebuffer are treated if it is scaled or rotated. If the WrapMode is set to 'clamp', the edge will not be interpolated. If set to 'repeat', the edge will be interpolated with the pixels on the opposing side of the framebuffer. Function Sy

Framebuffer:renderTo

Framebuffer:renderTo Available since LÖVE 0.7.0 This function is not supported in earlier versions. Removed in LÖVE 0.8.0 It has been renamed to Canvas:renderTo. Render to the Framebuffer using a function. Function Synopsis Framebuffer:renderTo( func ) Arguments function func A function performing drawing operations. Returns Nothing. Notes This function will clear the target framebuffer. This is a shortcut to love.graphics.setRenderTarget: framebuffer:renderTo( func ) is the same

Framebuffer:getImageData

Framebuffer:getImageData Available since LÖVE 0.7.0 This function is not supported in earlier versions. Removed in LÖVE 0.8.0 It has been renamed to Canvas:getImageData. Returns the image data stored in the Framebuffer. Think of it as a screenshot of the hidden screen that is the framebuffer. Function Synopsis data = Framebuffer:getImageData( ) Arguments None. Returns ImageData data The image data stored in the framebuffer. See Also Framebuffer love.graphics.newScreenshot