Difference between revisions of "TextureBase:getSize"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2021.10<br/> '''Class:''' TextureBase<br/> === Description === Returns the size of a texture. <source lang="lua"> (number), (numb...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns the size of a texture. | Returns the size of a texture. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number), (number) = TextureBase:getSize() | (number), (number) = TextureBase:getSize() | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: Gideros 2021.10
Class: TextureBase
Description
Returns the size of a texture. <syntaxhighlight lang="lua"> (number), (number) = TextureBase:getSize() </source>
Return values
Returns (number) the width of the texture
Returns (number) the height of the texture