parameters: (materials)
return_statement: return mtl
docstring: Generate dummy materials.
docstring_summary: Generate dummy materials.
docstring_tokens: Generate dummy materials .
function: def generate_mtl(materials):
      """Generate dummy materials.
      """
  
      mtl = {}
      for m in materials:
          index = materials[m]
          mtl[m] = {
              "DbgName": m,
              "DbgIndex": index,
              "DbgColor": generate_color(index),
              "vertexColors" : False
          }
      return mtl
function_tokens: def generate_mtl ( materials ) : mtl = { } for m in materials : index = materials [ m ] mtl [ m ] = { "DbgName" : m , "DbgIndex" : index , "DbgColor" : generate_color ( index ) , "vertexColors" : False } return mtl