Version: 2021.2
言語: 日本語
public static float DistanceToPolyLine (params Vector3[] points);

説明

Returns the distance in pixels from the mouse pointer to a polyline.

Calculates the screen space distance from the mouse pointer to the multi segment line that goes through the given world space points.

現在のカメラが距離を決定するのに使います。

See Also: DistanceToLine.