UnityEditor.PolygonEditor.INTERNAL_CALL_GetNearestPoint C# (CSharp) Method

INTERNAL_CALL_GetNearestPoint() private method

private INTERNAL_CALL_GetNearestPoint ( Vector2 &point, int &pathIndex, int &pointIndex, float &distance ) : bool
point Vector2
pathIndex int
pointIndex int
distance float
return bool
        private static extern bool INTERNAL_CALL_GetNearestPoint(ref Vector2 point, out int pathIndex, out int pointIndex, out float distance);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

示例#1
0
 public static bool GetNearestPoint(Vector2 point, out int pathIndex, out int pointIndex, out float distance)
 {
     return(PolygonEditor.INTERNAL_CALL_GetNearestPoint(ref point, out pathIndex, out pointIndex, out distance));
 }