MouseJoint:getFrequency

MouseJoint:getFrequency Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the frequency. Function Synopsis freq = MouseJoint:getFrequency( ) Arguments None. Returns number freq The frequency in hertz. See Also MouseJoint MouseJoint:setFrequency

MouseJoint:getDampingRatio

MouseJoint:getDampingRatio Available since LÖVE 0.8.0 This method is not supported in earlier versions. Returns the damping ratio. Function Synopsis ratio = MouseJoint:getDampingRatio( ) Arguments None. Returns number ratio The new damping ratio. See Also MouseJoint MouseJoint:setDampingRatio

MotorJoint:setLinearOffset

MotorJoint:setLinearOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Sets the target linear offset between the two Bodies the Joint is attached to. Function Synopsis MotorJoint:setLinearOffset( x, y ) Arguments number x The x component of the target linear offset, relative to the first Body. number y The y component of the target linear offset, relative to the first Body. Returns Nothing. See Also MotorJoint MotorJoint:getLinearOffset

MotorJoint:setAngularOffset

MotorJoint:setAngularOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Sets the target angluar offset between the two Bodies the Joint is attached to. Function Synopsis MotorJoint:setAngularOffset( angleoffset ) Arguments number angleoffset The target angular offset in radians: the second body's angle minus the first body's angle. Returns Nothing. See Also MotorJoint MotorJoint:getAngularOffset

MotorJoint:getLinearOffset

MotorJoint:getLinearOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Gets the target linear offset between the two Bodies the Joint is attached to. Function Synopsis x, y = MotorJoint:getLinearOffset( ) Arguments None. Returns number x The x component of the target linear offset, relative to the first Body. number y The y component of the target linear offset, relative to the first Body. See Also MotorJoint MotorJoint:setLinearOffset

MotorJoint:getAngularOffset

MotorJoint:getAngularOffset Available since LÖVE 0.9.0 This method is not supported in earlier versions. Gets the target angular offset between the two Bodies the Joint is attached to. Function Synopsis angleoffset = MotorJoint:getAngularOffset( ) Arguments None. Returns number angleoffset The target angular offset in radians: the second body's angle minus the first body's angle. See Also MotorJoint MotorJoint:setAngularOffset

Mesh:setVertices

Mesh:setVertices Available since LÖVE 0.9.0 This function is not supported in earlier versions. Replaces a range of vertices in the Mesh with new ones. The total number of vertices in a Mesh cannot be changed after it has been created. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis Mesh:setVertices( vertices, startvertex ) Arguments table vertices The table filled with vertex information tables for each vertex, in the form of {vertex,

Mesh:setVertexMap

Mesh:setVertexMap Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the vertex map for the Mesh. The vertex map describes the order in which the vertices are used when the Mesh is drawn. The vertices, vertex map, and mesh draw mode work together to determine what exactly is displayed on the screen. The vertex map allows you to re-order or reuse vertices when drawing without changing the actual vertex parameters or duplicating vertices. It is especially use

Mesh:setVertexColors

Mesh:setVertexColors Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 It has been replaced by Mesh:setAttributeEnabled("VertexColor", enable). Sets whether per-vertex colors are used instead of the constant color when drawing the Mesh (constant color being love.graphics.setColor.) Per-vertex colors are enabled by default for a Mesh if at least one vertex color was not the default (255, 255, 255, 255) when the Mesh was created. Function Synopsis Mesh:setVertexColors( on ) Arguments bo

Mesh:setVertexAttribute

Mesh:setVertexAttribute Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the properties of a specific attribute within a vertex in the Mesh. Meshes without a custom vertex format specified in love.graphics.newMesh have position as their first attribute, texture coordinates as their second attribute, and color as their third attribute. Function Synopsis Mesh:setVertexAttribute( vertexindex, attributeindex, value1, value2, ... ) Arguments number vertexind