Wiki
Clone wikiLove2D Light and Shadow Engine / love.light.newLight
Object
Abstract
light = love.light.newLight(world, x, y, red, green, blue)
Arguments
- World world
- float x (default: 0.0)
- float y (default: 0.0)
- byte red (default: 255)
- byte green (default: 255)
- byte blue (default: 255)
Return
- Light light
Description
Create a new light object.
Updated