Anonymous

Not logged in

  • British English
  • Log in
GiderosMobile

Last 8 Pages Viewed: Template:Unite Framework » Gaming:loadState » B2.RevoluteJoint:enableLimit » Sprite:setShader » Luamidi:getoutportcount » Ads:get » Template:Unite Framework » Mesh:setTexture

Mesh:setTexture

From GiderosMobile

Namespaces

  • Page
  • Discussion

More

  • More
  • Languages

Page actions

  • Read
  • View source
  • History
Revision as of 23:06, 18 March 2021 by MoKaLux (talk | contribs) (removed language stuff)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2012.09
Class: Mesh

Description

Sets the texture of the mesh.

Mesh:setTexture(texture,slot)

Parameters

texture: (TextureBase) the texture
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



  • Mesh
  • Mesh.new
  • Mesh:clearColorArray
  • Mesh:clearIndexArray
  • Mesh:clearTexture
  • Mesh:clearTextureCoordinateArray
  • Mesh:clearVertexArray
  • Mesh:getColor
  • Mesh:getColorArraySize
  • Mesh:getIndex
  • Mesh:getIndexArraySize
  • Mesh:getTextureCoordinate
  • Mesh:getTextureCoordinateArraySize
  • Mesh:getVertex
  • Mesh:getVertexArraySize
  • Mesh:resizeColorArray
  • Mesh:resizeIndexArray
  • Mesh:resizeTextureCoordinateArray
  • Mesh:resizeVertexArray
  • Mesh:setAutoSort
  • Mesh:setColor
  • Mesh:setColorArray
  • Mesh:setColors
  • Mesh:setCullMode
  • Mesh:setGenericArray
  • Mesh:setIndex
  • Mesh:setIndexArray
  • Mesh:setIndices
  • Mesh:setInstanceCount
  • Mesh:setPrimitiveType
  • Mesh:setTexture
  • Mesh:setTextureCoordinate
  • Mesh:setTextureCoordinateArray
  • Mesh:setTextureCoordinates
  • Mesh:setVertex
  • Mesh:setVertexArray
  • Mesh:setVertices



  • Main Page
  • Lua API
  • Main API
  • Plugins
Retrieved from ‘https://wiki.gideros.rocks/index.php?title=Mesh:setTexture&oldid=17586’
Categories:
  • Pages using deprecated source tags
  • Mesh

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help

Categories

► Lua API
► Main API
► Plugins

Wiki tools

Wiki tools

  • Special pages

Page tools

Page tools

    Userpage tools

      More

      • What links here
      • Related changes
      • Printable version
      • Permanent link
      • Page information
      • Page logs

      Categories

      Categories

      • Pages using deprecated source tags
      • Mesh
      Powered by MediaWiki
      • This page was last modified on 13 July 2023, at 15:30.
      • Privacy policy
      • About GiderosMobile
      • Disclaimers