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.DistanceToCircle 到线圆距离
static function DistanceToCircle (position : Vector3, radius : float) : float
Description描述
Pixel distance from mouse pointer to camera facing circle.
从鼠标指针到面向相机线圆的像素距离。
Calculates the screen space distance from the mouse pointer to the circle at given world space position with the given radius. The circle is assumed to be facing the camera.
计算屏幕空间从鼠标指针到在给定世界空间位置和带有半径参数圆的距离。
Uses the current camera to determine the distance.
使用当前相机来确定距离。
参见:DistanceToDisc.
最后修改:2011年7月10日 Sunday 18:52