def getVector3ByPrefix(defaultVector3, elementNode, prefix):
 value = getEvaluatedValue(None, elementNode, prefix)
 if (value != None):
  defaultVector3 = getVector3ByDictionaryListValue(value, defaultVector3)
 prefix = archive.getUntilDot(prefix)
 x = getEvaluatedFloat(None, elementNode, (prefix + '.x'))
 if (x != None):
  defaultVector3 = getVector3IfNone(defaultVector3)
  defaultVector3.x = x
 y = getEvaluatedFloat(None, elementNode, (prefix + '.y'))
 if (y != None):
  defaultVector3 = getVector3IfNone(defaultVector3)
  defaultVector3.y = y
 z = getEvaluatedFloat(None, elementNode, (prefix + '.z'))
 if (z != None):
  defaultVector3 = getVector3IfNone(defaultVector3)
  defaultVector3.z = z
 return defaultVector3

def getVector3ByPrefix ( defaultVector3 , elementNode , prefix ) : value = getEvaluatedValue ( None , elementNode , prefix ) if ( value != None ) : defaultVector3 = getVector3ByDictionaryListValue ( value , defaultVector3 ) prefix = archive . getUntilDot ( prefix ) x = getEvaluatedFloat ( None , elementNode , ( prefix + '.x' ) ) if ( x != None ) : defaultVector3 = getVector3IfNone ( defaultVector3 ) defaultVector3 . x = x y = getEvaluatedFloat ( None , elementNode , ( prefix + '.y' ) ) if ( y != None ) : defaultVector3 = getVector3IfNone ( defaultVector3 ) defaultVector3 . y = y z = getEvaluatedFloat ( None , elementNode , ( prefix + '.z' ) ) if ( z != None ) : defaultVector3 = getVector3IfNone ( defaultVector3 ) defaultVector3 . z = z return defaultVector3
get vector3 from prefix and xml element .