HandleUtility
- acceleration
- AddControl
- AddDefaultControl
- CalcLineTranslation
- ClosestPointToArc
- ClosestPointToDisc
- ClosestPointToPolyLine
- DistancePointBezier
- DistancePointLine
- DistanceToArc
- DistanceToCircle
- DistanceToDisc
- DistanceToLine
- DistanceToPolyLine
- GetHandleSize
- GUIPointToWorldRay
- niceMouseDeltaZoom
- niceMouseDelta
- PickGameObject
- PickRectObjects
- PointOnLineParameter
- PopCamera
- ProjectPointLine
- PushCamera
- RaySnap
- Repaint
- WorldPointToSizedRect
- WorldToGUIPoint
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.
最后修改:2011年7月10日 Sunday 15:17