Assets/SplineTool/Scripts/CorgiSpline/Spline.cs
/// <summary>
/// Gets an interpolated SplinePoint along the spline at a given screenPosition, relative to the given camera. 
/// </summary>
/// <param name="camera"></param>
/// <param name="screenPosition"></param>
/// <returns></returns>
Gets an interpolated SplinePoint along the spline at a given screenPosition, relative to the given camera.
Gets an interpolated SplinePoint along the spline at a given screenPosition relative to the given camera .
public SplinePoint ProjectOnSpline(Camera camera, Vector3 screenPosition)
        {
            var t = ProjectOnSpline_t(camera, screenPosition);
            return GetPoint(t);
        }
public SplinePoint ProjectOnSpline ( Camera camera , Vector3 screenPosition ) { var t = ProjectOnSpline_t ( camera , screenPosition ) ; return GetPoint ( t ) ; }
Gets an interpolated SplinePoint along the spline at a given screenPosition, relative to the given camera.
Gets an interpolated SplinePoint along the spline at a given screenPosition relative to the given camera .
None
camera
Camera
None
screenPosition
Vector3
None