Editar

Compartilhar via


MathUtilities.DistanceOfPointToLineSegment(Vector3, Vector3, Vector3) Method

Definition

public:
 static float DistanceOfPointToLineSegment(UnityEngine::Vector3 point, UnityEngine::Vector3 lineStart, UnityEngine::Vector3 lineEnd);
public static float DistanceOfPointToLineSegment (UnityEngine.Vector3 point, UnityEngine.Vector3 lineStart, UnityEngine.Vector3 lineEnd);
static member DistanceOfPointToLineSegment : UnityEngine.Vector3 * UnityEngine.Vector3 * UnityEngine.Vector3 -> single
Public Shared Function DistanceOfPointToLineSegment (point As Vector3, lineStart As Vector3, lineEnd As Vector3) As Single

Parameters

point
UnityEngine.Vector3
lineStart
UnityEngine.Vector3
lineEnd
UnityEngine.Vector3

Returns

Applies to