#NEWLINE# def __init__( self , sampler , texcoord , xmlnode = None ) : #NEWLINE# #INDENT# 'Create a map instance to a sampler using a texcoord channel.\n\n        :param collada.material.Sampler2D sampler:\n          A sampler object to map\n        :param str texcoord:\n          Texture coordinate channel symbol to use\n        :param xmlnode:\n          If loaded from xml, the xml node\n\n        ' #NEWLINE# self . sampler = texcoord #NEWLINE# ':class:`collada.material.Sampler2D` object to map' #NEWLINE# self . texcoord = texcoord #NEWLINE# 'Texture coordinate channel symbol to use' #NEWLINE# if ( xmlnode != None ) : #NEWLINE# #INDENT# self . xmlnode = xmlnode #NEWLINE# 'ElementTree representation of the map' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . xmlnode = E . texture ( texture = self . sampler . id , texcoord = self . texcoord )