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.WorldPointToSizedRect 世界点转矩形大小
static function WorldPointToSizedRect (position : Vector3, content : GUIContent, style : GUIStyle) : Rect
Parameters参数
-
positionthe world-space position to use // 世界坐标位置
-
contentthe content to make room for // 内容
-
stylethe style to use. The style's alignment // 使用的样式,样式的对齐
Description描述
Figure out a rectangle to display a 2D GUI element in 3D space.
在3D空间,计算一个矩形用来显示2D GUI元素。
最后修改:2011年7月10日 Sunday 17:20