def getVector3ByFloatList(floatList, vector3):
 if (len(floatList) > 0):
  vector3 = getVector3IfNone(vector3)
  vector3.x = euclidean.getFloatFromValue(floatList[0])
 if (len(floatList) > 1):
  vector3 = getVector3IfNone(vector3)
  vector3.y = euclidean.getFloatFromValue(floatList[1])
 if (len(floatList) > 2):
  vector3 = getVector3IfNone(vector3)
  vector3.z = euclidean.getFloatFromValue(floatList[2])
 return vector3

def getVector3ByFloatList ( floatList , vector3 ) : if ( len ( floatList ) > 0 ) : vector3 = getVector3IfNone ( vector3 ) vector3 . x = euclidean . getFloatFromValue ( floatList [ 0 ] ) if ( len ( floatList ) > 1 ) : vector3 = getVector3IfNone ( vector3 ) vector3 . y = euclidean . getFloatFromValue ( floatList [ 1 ] ) if ( len ( floatList ) > 2 ) : vector3 = getVector3IfNone ( vector3 ) vector3 . z = euclidean . getFloatFromValue ( floatList [ 2 ] ) return vector3
get vector3 by float list .