Difference between revisions of "CompressedData:getDimensions"

(Created page)
 
(Blanked page)
 
Line 1: Line 1:
{{newin|[[0.9.0]]|090|type=function}}
 
Gets the width and height of the CompressedData.
 
  
== Function ==
 
=== Synopsis ===
 
<source lang="lua">
 
width, height = CompressedData:getDimensions( )
 
</source>
 
=== Arguments ===
 
None.
 
=== Returns ===
 
{{param|number|width|The width of the CompressedData.}}
 
{{param|number|height|The height of the CompressedData.}}
 
 
== Function ==
 
=== Synopsis ===
 
<source lang="lua">
 
width, height = CompressedData:getDimensions( level )
 
</source>
 
=== Arguments ===
 
{{param|number|level|A mipmap level. Must be in the range of [1, [[CompressedData:getMipmapCount|CompressedData:getMipmapCount()]]].}}
 
=== Returns ===
 
{{param|number|width|The width of a specific mipmap level of the CompressedData.}}
 
{{param|number|height|The height of a specific mipmap level of the CompressedData.}}
 
 
== See Also ==
 
* [[parent::CompressedData]]
 
* [[CompressedData:getMipmapCount]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the width and height of the CompressedData.}}
 
== Other Languages ==
 
{{i18n|CompressedData:getDimensions}}
 

Latest revision as of 03:40, 3 October 2015