public static Vector2 GetUV(Vector2 t0, Vector2 t1, Vector2 t2, Vector2 tP, Vector2 uv) { global::System.IntPtr cPtr = ISMathPINVOKE.GetUV(Vector2.getCPtr(t0), Vector2.getCPtr(t1), Vector2.getCPtr(t2), Vector2.getCPtr(tP), Vector2.getCPtr(uv)); Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false); if (ISMathPINVOKE.SWIGPendingException.Pending) { throw ISMathPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }