(File):getFilename

(File):getFilename Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the filename that the File object was created with. If the file object originated from the love.filedropped callback, the filename will be the full platform-dependent file path. Function Synopsis filename = File:getFilename( ) Arguments None. Returns string filename The filename of the File. See Also File

Quad:getViewport

Quad:getViewport Gets the current viewport of this Quad. Function Synopsis x, y, w, h = Quad:getViewport( ) Arguments None. Returns number x The top-left corner along the x-axis. number y The top-right corner along the y-axis. number w The width of the viewport. number h The height of the viewport. See Also Quad

Decoder:getSampleRate

Decoder:getSampleRate Returns the sample rate of the Decoder. Function Synopsis rate = Decoder:getSampleRate( ) Arguments None. Returns number rate Number of samples per second. See Also Decoder

Body:setAwake

Body:setAwake Available since LÖVE 0.8.0 This method is not supported in earlier versions. Wakes the body up or puts it to sleep. Function Synopsis Body:setAwake( awake ) Arguments boolean awake The body sleep status. Returns Nothing. See Also Body Body:isAwake

love.graphics.getLineJoin

love.graphics.getLineJoin Gets the line join style. Function Synopsis join = love.graphics.getLineJoin( ) Arguments Nothing. Returns LineJoin join The LineJoin style. See Also love.graphics love.graphics.setLineJoin

MouseJoint:getMaxForce

MouseJoint:getMaxForce Gets the highest allowed force. Function Synopsis f = MouseJoint:getMaxForce( ) Arguments None. Returns number f The max allowed force. See Also MouseJoint

CompressedData:getFormat

CompressedData:getFormat Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the compression format of the CompressedData. Function Synopsis format = CompressedData:getFormat( ) Arguments None. Returns CompressedDataFormat format The format of the CompressedData. See Also CompressedData

love.audio.getOrientation

love.audio.getOrientation Returns the orientation of the listener. Function Synopsis fx, fy, fz, ux, uy, uz = love.audio.getOrientation( ) Arguments None. Returns number fx, fy, fz Forward vector of the listener orientation. number ux, uy, uz Up vector of the listener orientation. See Also love.audio

Source:isStopped

Source:isStopped Returns whether the Source is stopped. Function Synopsis stopped = Source:isStopped( ) Arguments None. Returns boolean stopped True if the Source is stopped, false otherwise. See Also Source

Shader Variables

Shader Variables Available since LÖVE 0.9.0 These built-in shader variables are not supported in earlier versions. There are several built-in variables LÖVE provides in vertex and pixel shaders. All built-in variables are read-only unless otherwise specified. Global built-in variables mat4 TransformMatrix The transformation matrix affected by love.graphics.translate and friends. mat4 ProjectionMatrix The orthographic projection matrix. mat4 TransformProjectionMatrix The combined tra