Difference between revisions of "Quad:setLayer"

(Created page with "{{newin|11.0|110|type=function}} Sets the layer to use in Array Textures. == Function == === Synopsis === <source lang="lua"> Quad:setLayer( layerindex )...")
 
m (See Also)
 
Line 17: Line 17:
 
* [[love.graphics.drawLayer]]
 
* [[love.graphics.drawLayer]]
 
* [[SpriteBatch:setLayer]]
 
* [[SpriteBatch:setLayer]]
 +
* [[SpriteBatch:addLayer]]
  
 
== Other Languages ==
 
== Other Languages ==

Latest revision as of 17:21, 29 September 2022

Available since LÖVE 11.0
This function is not supported in earlier versions.

Sets the layer to use in Array Textures.

Function

Synopsis

Quad:setLayer( layerindex )

Arguments

number layerindex
Layer index to be used by the Quad for Array Textures.

Returns

Nothing.

See Also

Other Languages