def addVector3ToElementNode(elementNode, key, vector3):
 elementNode.attributes[key] = ('[%s,%s,%s]' % (vector3.x, vector3.y, vector3.z))

def addVector3ToElementNode ( elementNode , key , vector3 ) : elementNode . attributes [ key ] = ( '[%s,%s,%s]' % ( vector3 . x , vector3 . y , vector3 . z ) )
add vector3 to xml element .