parameters: (material)
return_statement: return blend
docstring: :param material:
      :return: THREE_blending_type value
function: def blending(material):
      """
  
      :param material:
      :return: THREE_blending_type value
  
      """
      logger.debug("material.blending(%s)", material)
      try:
          blend = material.THREE_blending_type
      except AttributeError:
          logger.debug("No THREE_blending_type attribute found")
          blend = constants.NORMAL_BLENDING
  
      blend = getattr( constants.BLENDING_CONSTANTS , blend) #manthrax: Translate the blending type name, to the three.js constant value.
      return blend
function_tokens: def blending ( material ) : logger . debug ( "material.blending(%s)" , material ) try : blend = material . THREE_blending_type except AttributeError : logger . debug ( "No THREE_blending_type attribute found" ) blend = constants . NORMAL_BLENDING blend = getattr ( constants . BLENDING_CONSTANTS , blend ) #manthrax: Translate the blending type name, to the three.js constant value. return blend