class_docstr: **Bases:** :class:`GLGraphicsItem <pyqtgraph.opengl.GLGraphicsItem.GLGraphicsItem>`
  
  Displays a 3D triangle mesh. 
docstr: Set mesh data for this item. This can be invoked two ways:
  
  1. Specify *meshdata* argument with a new MeshData object
  2. Specify keyword arguments to be passed to MeshData(..) to create a new instance.
docstr_tok: ["Set","mesh","data","for","this","item",".","This","can","be","invoked","two","ways",":","1",".","Specify","*","meshdata","*","argument","with","a","new","MeshData","object","2",".","Specify","keyword","arguments","to","be","passed","to","MeshData","(","..",")","to","create","a","new","instance","."]
code: def setMeshData(self, **kwds):
      """
      Set mesh data for this item. This can be invoked two ways:
  
      1. Specify *meshdata* argument with a new MeshData object
      2. Specify keyword arguments to be passed to MeshData(..) to create a new instance.
      """
      md = kwds.get("meshdata", None)
      if md is None:
          opts = {}
          for k in [
              "vertexes",
              "faces",
              "edges",
              "vertexColors",
              "faceColors",
          ]:
              try:
                  opts[k] = kwds.pop(k)
              except KeyError:
                  pass
          md = MeshData(**opts)
  
      self.opts["meshdata"] = md
      self.opts.update(kwds)
      self.meshDataChanged()
      self.update()
  
file_path: pyqtgraph/pyqtgraph/opengl/items/GLMeshItem.py
imports: from OpenGL.GL import *
  import numpy
  from ...Qt import QtGui
  from ..None import shaders
  from ..GLGraphicsItem import GLGraphicsItem
  from ..MeshData import MeshData
label_desc: Use image node_id 5 for calling the GLMeshItem obj's underlying member method code with example usage: obj.setMeshData() without return types