Wiki

Clone wiki

Love2D Light and Shadow Engine / love.light.newRectangle

Object

love.light

Abstract

rectangle = love.light.newRectangle(world, x, y, width, height)

Arguments

  • World world
  • float x (default: 0.0)
  • float y (default: 0.0)
  • float width (default: 64.0)
  • float height (default: 64.0)

Return

Description

Create a new rectangle shadow object.

Updated