Difference between revisions of "CompressedData:getWidth"

(Created page)
 
(Blanked page (oops))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{newin|[[0.9.0]]|090|type=function}}
 
Gets the width of the CompressedData.
 
  
== Function ==
 
=== Synopsis ===
 
<source lang="lua">
 
width = CompressedData:getWidth( )
 
</source>
 
=== Arguments ===
 
None.
 
=== Returns ===
 
{{param|number|width|The width of the CompressedData.}}
 
 
== Function ==
 
=== Synopsis ===
 
<source lang="lua">
 
width = CompressedData:getWidth( 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.}}
 
 
== See Also ==
 
* [[parent::CompressedData]]
 
* [[CompressedData:getHeight]]
 
* [[CompressedData:getMipmapCount]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the width of the CompressedData.}}
 
== Other Languages ==
 
{{i18n|CompressedData:getWidth}}
 

Latest revision as of 03:45, 3 October 2015