Mesh:setAttributeEnabled

Mesh:setAttributeEnabled Available since LÖVE 0.10.0 This function is not supported in earlier versions. Enables or disables a specific vertex attribute in the Mesh. Vertex data from disabled attributes is not used when drawing the Mesh. Function Synopsis Mesh:setAttributeEnabled( name, enable ) Arguments string name The name of the vertex attribute to enable or disable. boolean enable Whether the vertex attribute is used when drawing this Mesh. Returns Nothing. Notes If a Mesh wasn't

RevoluteJoint:getMotorSpeed

RevoluteJoint:getMotorSpeed Gets the motor speed. Function Synopsis s = RevoluteJoint:getMotorSpeed( ) Arguments None. Returns number s The motor speed, radians per second. See Also RevoluteJoint

ParticleSystem:getPosition

ParticleSystem:getPosition Gets the position of the emitter. Function Synopsis x, y = ParticleSystem:getPosition( ) Arguments None. Returns number x Position along x-axis. number y Position along y-axis. See Also ParticleSystem

ParticleSystem:setSpin

ParticleSystem:setSpin Sets the spin of the sprite. Function Synopsis ParticleSystem:setSpin( min, max ) Arguments number min The minimum spin (radians per second). number max (min) The maximum spin (radians per second). Returns Nothing. Function Removed in LÖVE 0.9.0 Use ParticleSystem:setSpinVariation instead. Synopsis ParticleSystem:setSpin( min, max, variation ) Arguments number min The minimum spin (radians per second). number max (min) The maximum spin (radians per second). nu

Shape:getFriction

Shape:getFriction Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Gets the friction of this shape. Function Synopsis friction = Shape:getFriction( ) Arguments None. Returns number friction The friction of this Shape. See Also Shape

Thread:wait

Thread:wait Available since LÖVE 0.7.0 This function is not supported in earlier versions. Wait for a thread to finish. This call will block until the thread finishes. Function Synopsis Thread:wait( ) Arguments None. Returns None. See Also Thread

RevoluteJoint:hasLimitsEnabled

RevoluteJoint:hasLimitsEnabled Available since LÖVE 0.9.0 It has been renamed from RevoluteJoint:isLimitsEnabled. Checks whether limits are enabled. Function Synopsis enabled = RevoluteJoint:hasLimitsEnabled( ) Arguments None. Returns boolean enabled True if enabled, false otherwise. See Also RevoluteJoint

Shape:getChildCount

Shape:getChildCount Available since LÖVE 0.8.0 This function is not supported in earlier versions. Returns the number of children the shape has. Function Synopsis count = Shape:getChildCount( ) Arguments None. Returns number count The number of children. See Also Shape

BlendMode Formulas

BlendMode Formulas Equations used when blending drawn content with the screen or active Canvas. Color components are generally in the range of [0, 1] rather than [0, 255] for the purposes of these equations. Results are clamped to [0, 1] except when a Canvas is active that has a floating-point / HDR format. Description: dst - existing color in the screen. src - the color of the drawn object (the color output by the pixel shader, or the global color multiplied by the texture's color – if a

World:setGravity

World:setGravity Set the gravity of the world. Function Synopsis World:setGravity( x, y ) Arguments number x The x component of gravity. number y The y component of gravity. Returns Nothing. See Also World