Difference between revisions of "TextureBase:getSize"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number), (number) = TextureBase:getSize()
 
(number), (number) = TextureBase:getSize()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2021.10
Class: TextureBase

Description

Returns the size of a texture.

(number), (number) = TextureBase:getSize()

Return values

Returns (number) the width of the texture
Returns (number) the height of the texture