def getVector3ByDictionary(dictionary, vector3):
 if ('x' in dictionary):
  vector3 = getVector3IfNone(vector3)
  vector3.x = euclidean.getFloatFromValue(dictionary['x'])
 if ('y' in dictionary):
  vector3 = getVector3IfNone(vector3)
  vector3.y = euclidean.getFloatFromValue(dictionary['y'])
 if ('z' in dictionary):
  vector3 = getVector3IfNone(vector3)
  vector3.z = euclidean.getFloatFromValue(dictionary['z'])
 return vector3

def getVector3ByDictionary ( dictionary , vector3 ) : if ( 'x' in dictionary ) : vector3 = getVector3IfNone ( vector3 ) vector3 . x = euclidean . getFloatFromValue ( dictionary [ 'x' ] ) if ( 'y' in dictionary ) : vector3 = getVector3IfNone ( vector3 ) vector3 . y = euclidean . getFloatFromValue ( dictionary [ 'y' ] ) if ( 'z' in dictionary ) : vector3 = getVector3IfNone ( vector3 ) vector3 . z = euclidean . getFloatFromValue ( dictionary [ 'z' ] ) return vector3
get vector3 by dictionary .