SpriteBatch:setDrawRange
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