Table of Contents

Mesh:setTexture

Available since version: Gideros 2012.09

Description:

Sets the texture.

Syntax:

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