HandleUtility.DistanceToPolyLine 到多段线距离

static function DistanceToArc (center : Vector3, normal : Vector3, from : Vector3, angle : float, radius : float) : float

Description描述

Pixel distance from 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.

计算屏幕空间距离,从鼠标指针到多段线通过给定世界空间点的距离。

Uses the current camera to determine the distance.

使用当前相机来确定距离。

参见:DistanceToLine.

Page last updated: 2011-7-10