Thread:peek

Thread:peek Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0 It has been moved to the Channel api. Retrieves the value of a message, but leaves it in the thread's message box. The name of the message can be any string. The value of the message can be a boolean, string, number or a LÖVE userdata. It returns nil, if there's no message with the given name. Function Synopsis value = Thread:peek( name ) Arguments string name The name of the message. Returns boolean, number, string or LÖV

Thread:receive

Thread:receive Available since LÖVE 0.7.0 and removed in LÖVE 0.8.0 It has been renamed to Thread:get. Receive a message from a thread. Returns nil when a message is not in the message box. Function Synopsis value = Thread:receive(name) Arguments string name The name of the message. Returns Variant value The contents of the message or nil when no message in message box. See Also Thread

Thread:send

Thread:send Available since LÖVE 0.7.0 and removed in LÖVE 0.8.0 It has been renamed to Thread:set. Send a message (put it in the message box). Function Synopsis Thread:send(name, value) Arguments string name The name of the message. Variant value The contents of the message. Returns None. See Also Thread

Thread:set

Thread:set Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been moved to the Channel API. Sets a value in the message box of the thread. The name of the message can be any string. The value of the message can be a boolean, string, number or a LÖVE userdata. Foreign userdata (Lua's files, LuaSocket, ...), functions or tables are not supported. Function Synopsis Thread:set(name, value) Arguments string name The name of the message. boolean, string, number or LÖVE userdata value

Thread:start

Thread:start Available since LÖVE 0.7.0 This function is not supported in earlier versions. Starts the thread. Beginning with version 0.9.0, threads can be restarted after they have completed their execution. Function Synopsis Thread:start( ) Arguments None. Returns Nothing. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis Thread:start( arg1, arg2, ... ) Arguments Variant arg1 A string, number, boolean, LÖVE object, or simple table. Va

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

Video:getDimensions

Video:getDimensions Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the width and height of the Video in pixels. Function Synopsis width, height = Video:getDimensions( ) Arguments None. Returns number width The width of the Video. number height The height of the Video. See Also Video Video:getWidth Video:getHeight

Video:getFilter

Video:getFilter Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the scaling filters used when drawing the Video. Function Synopsis min, mag, anisotropy = Video:getFilter( ) Arguments None. Returns FilterMode min The filter mode used when scaling the Video down. FilterMode mag The filter mode used when scaling the Video up. number anisotropy (1) Maximum amount of anisotropic filtering used. See Also Video Video:setFilter FilterMode

Video:getHeight

Video:getHeight Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the height of the Video in pixels. Function Synopsis height = Video:getHeight( ) Arguments None. Returns number height The height of the Video. See Also Video Video:getWidth Video:getDimensions

Video:getSource

Video:getSource Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the audio Source used for playing back the video's audio. May return nil if the video has no audio, or if Video:setSource is called with a nil argument. Function Synopsis source = Video:getSource( ) Arguments None. Returns Source source The audio Source used for audio playback, or nil if the video has no audio. See Also Video Video:setSource Source