code: def tuple_as_vec(xyzw):
          
          vec = Vector4()
          vec[0] = xyzw[0]
          vec[1] = xyzw[1]
          vec[2] = xyzw[2]
          vec[3] = xyzw[3]
          return vec
docs: Generates a Vector4 from a tuple or list.