Difference between revisions of "SpriteBatch:setDrawRange"
(Created page) |
m (0.11.0 -> 11.0) |
||
Line 1: | Line 1: | ||
− | {{newin|[[ | + | {{newin|[[11.0]]|110|type=function}} |
Restricts the drawn sprites in the SpriteBatch to a subset of the total. | Restricts the drawn sprites in the SpriteBatch to a subset of the total. | ||
Latest revision as of 18:20, 7 May 2019
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Restricts the drawn sprites in the SpriteBatch to a subset of the total.
Contents
Function
Synopsis
SpriteBatch:setDrawRange( start, count )
Arguments
number start
- The index of the first sprite to draw. Index 1 corresponds to the first sprite added with SpriteBatch:add.
number count
- The number of sprites to draw.
Returns
Nothing.
Function
Allows all sprites in the SpriteBatch to be drawn.
Synopsis
SpriteBatch:setDrawRange( )
Arguments
None.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info