Mesh:setTexture

From GiderosMobile
Revision as of 10:02, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Sets the texture.<br /> <br /> <source lang="lua"> = Mesh:setTexture(textureslot,) </source> '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2012.09

Description


Sets the texture.

= Mesh:setTexture(textureslot,)

'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