Modifica

Condividi tramite


MathUtilities.ClosestPointOnLineToPoint(Vector3, Vector3, Vector3) Method

Definition

public:
 static UnityEngine::Vector3 ClosestPointOnLineToPoint(UnityEngine::Vector3 point, UnityEngine::Vector3 linePointA, UnityEngine::Vector3 linePointB);
public static UnityEngine.Vector3 ClosestPointOnLineToPoint (UnityEngine.Vector3 point, UnityEngine.Vector3 linePointA, UnityEngine.Vector3 linePointB);
static member ClosestPointOnLineToPoint : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 -> UnityEngine.Vector3
Public Shared Function ClosestPointOnLineToPoint (point As Vector3, linePointA As Vector3, linePointB As Vector3) As Vector3

Parameters

point
UnityEngine.Vector3
linePointA
UnityEngine.Vector3
linePointB
UnityEngine.Vector3

Returns

UnityEngine.Vector3

Applies to