Mesh:clearTexture: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2012.09<br/>
'''Available since:''' Gideros 2012.09<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Clears the texture. By default the texture at slot 0 is cleared. To clear a particular texture, pass its slot number to this method<br />
Clears the texture. By default the texture at slot 0 is cleared. To clear a particular texture, pass its slot number to this method<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
  Mesh:clearTexture(slot)
  Mesh:clearTexture(slot)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''slot''': (number) The slot number of the texture to clear. If no argument is provided, slot=0 is assumed '''optional'''<br/>
'''slot''': (number) <translate>The slot number of the texture to clear. If no argument is provided, slot=0 is assumed</translate> '''optional'''<br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2012.09

Description


Clears the texture. By default the texture at slot 0 is cleared. To clear a particular texture, pass its slot number to this method

 Mesh:clearTexture(slot)

Parameters

slot: (number) The slot number of the texture to clear. If no argument is provided, slot=0 is assumed optional