parameters: (self)
return_statement: return materialName
docstring: Create unique material name.
  		
  		   The name consists of several parts:
  		   <OL>
  		   <LI>rendering material name/</LI>
  		   <LI>blend mode (ALPHA, ADD, SOLID)</LI>
  		   <LI>/TEX</LI>
  		   <LI>/texture file name</LI>
  		   <LI>/VertCol</LI>
  		   <LI>/TWOSIDE></LI>
  		   </OL>
docstring_summary: Create unique material name.
  		
  		   The name consists of several parts:
  		   <OL>
  		   <LI>rendering material name/</LI>
  		   <LI>blend mode (ALPHA, ADD, SOLID)</LI>
  		   <LI>/TEX</LI>
  		   <LI>/texture file name</LI>
  		   <LI>/VertCol</LI>
  		   <LI>/TWOSIDE></LI>
  		   </OL>
docstring_tokens: Create unique material name . The name consists of several parts : <OL > <LI > rendering material name / < / LI > <LI > blend mode ( ALPHA ADD SOLID ) < / LI > <LI > / TEX< / LI > <LI > / texture file name< / LI > <LI > / VertCol< / LI > <LI > / TWOSIDE > < / LI > < / OL >
function: def _createName(self):
  		"""Create unique material name.
  		
  		   The name consists of several parts:
  		   <OL>
  		   <LI>rendering material name/</LI>
  		   <LI>blend mode (ALPHA, ADD, SOLID)</LI>
  		   <LI>/TEX</LI>
  		   <LI>/texture file name</LI>
  		   <LI>/VertCol</LI>
  		   <LI>/TWOSIDE></LI>
  		   </OL>
  		"""
  		materialName = ''
  		# nonempty rendering material?
  		if self.material:
  			materialName += self.material.getName() + '/'
  		# blend mode
  		if self.mesh.faceUV and (self.face.transp == Blender.Mesh.FaceTranspModes['ALPHA']):
  			materialName += 'ALPHA'
  		elif self.mesh.faceUV and (self.face.transp == Blender.Mesh.FaceTranspModes['ADD']):
  			materialName += 'ADD'
  		else:
  			materialName += 'SOLID'
  		# TEX face mode and texture?
  		if self.mesh.faceUV and (self.face.mode & Blender.Mesh.FaceModes['TEX']):
  			materialName += '/TEX'
  			if self.face.image:
  				materialName += '/' + PathName(self.face.image.filename).basename()
  		# vertex colours?
  		if self.mesh.vertexColors:
  			materialName += '/VertCol'
  		# two sided?
  		if self.mesh.faceUV and (self.face.mode & Blender.Mesh.FaceModes['TWOSIDE']):
  			materialName += '/TWOSIDE'
  		return materialName
function_tokens: def _createName ( self ) : materialName = '' # nonempty rendering material? if self . material : materialName += self . material . getName ( ) + '/' # blend mode if self . mesh . faceUV and ( self . face . transp == Blender . Mesh . FaceTranspModes [ 'ALPHA' ] ) : materialName += 'ALPHA' elif self . mesh . faceUV and ( self . face . transp == Blender . Mesh . FaceTranspModes [ 'ADD' ] ) : materialName += 'ADD' else : materialName += 'SOLID' # TEX face mode and texture? if self . mesh . faceUV and ( self . face . mode & Blender . Mesh . FaceModes [ 'TEX' ] ) : materialName += '/TEX' if self . face . image : materialName += '/' + PathName ( self . face . image . filename ) . basename ( ) # vertex colours? if self . mesh . vertexColors : materialName += '/VertCol' # two sided? if self . mesh . faceUV and ( self . face . mode & Blender . Mesh . FaceModes [ 'TWOSIDE' ] ) : materialName += '/TWOSIDE' return materialName