UnityEditor.HandleUtility.INTERNAL_CALL_DistancePointBezier C# (CSharp) Method

INTERNAL_CALL_DistancePointBezier() private method

private INTERNAL_CALL_DistancePointBezier ( Vector3 &point, Vector3 &startPosition, Vector3 &endPosition, Vector3 &startTangent, Vector3 &endTangent ) : float
point Vector3
startPosition Vector3
endPosition Vector3
startTangent Vector3
endTangent Vector3
return float
        private static extern float INTERNAL_CALL_DistancePointBezier(ref Vector3 point, ref Vector3 startPosition, ref Vector3 endPosition, ref Vector3 startTangent, ref Vector3 endTangent);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
		public static float DistancePointBezier(Vector3 point, Vector3 startPosition, Vector3 endPosition, Vector3 startTangent, Vector3 endTangent)
		{
			return HandleUtility.INTERNAL_CALL_DistancePointBezier(ref point, ref startPosition, ref endPosition, ref startTangent, ref endTangent);
		}