Difference between revisions of "Mesh:setTexture"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Sets the texture.<br />
 
Sets the texture.<br />
Line 8: Line 8:
 
  Mesh:setTexture(texture,slot)
 
  Mesh:setTexture(texture,slot)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''texture''': (TextureBase) <translate></translate> <br/>
 
'''texture''': (TextureBase) <translate></translate> <br/>
 
'''slot''': (number) <translate>The slot number which we are adding the Texture to (Meshes can have multiple Textures, one per slot). If omitted, slot=0 is assumed</translate> '''optional'''<br/>
 
'''slot''': (number) <translate>The slot number which we are adding the Texture to (Meshes can have multiple Textures, one per slot). If omitted, slot=0 is assumed</translate> '''optional'''<br/>

Revision as of 07:26, 24 August 2018

Available since: Gideros 2012.09

Description


Sets the texture.

 Mesh:setTexture(texture,slot)

Parameters

texture: (TextureBase)
slot: (number) The slot number which we are adding the Texture to (Meshes can have multiple Textures, one per slot). If omitted, slot=0 is assumed optional