Mesh:setTexture: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Sets the texture.<br /> <br /> <source lang="lua"> = Mesh:setTexture(textureslot,) </source> '..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
= Mesh:setTexture(textureslot,)
Mesh:setTexture(texture,slot)
</source>
</source>
'''texture:''' (TextureBase)  ''''''<br/>
'''texture''': (TextureBase)  ''''''<br/>
'''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'''<br/>
'''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'''<br/>

Revision as of 09:16, 23 August 2018

Available since: Gideros 2012.09

Description


Sets the texture.

 Mesh:setTexture(texture,slot)

'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