(material)
return blend
:param material:
    :return: THREE_blending_type value
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
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