HandleUtility
.WorldPointToSizedRect
Manual
Reference
Scripting
Scripting
>
Editor Classes
>
HandleUtility
HandleUtility
.WorldPointToSizedRect
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
HandleUtility
All Members
Class Variables
acceleration
niceMouseDelta
niceMouseDeltaZoom
Class Functions
AddControl
AddDefaultControl
CalcLineTranslation
ClosestPointToArc
ClosestPointToDisc
ClosestPointToPolyLine
DistancePointBezier
DistancePointLine
DistanceToArc
DistanceToCircle
DistanceToDisc
DistanceToLine
DistanceToPolyLine
GetHandleSize
GUIPointToWorldRay
PickGameObject
PickRectObjects
PointOnLineParameter
PopCamera
ProjectPointLine
PushCamera
RaySnap
Repaint
WorldPointToSizedRect
WorldToGUIPoint
static
function
WorldPointToSizedRect (position :
Vector3
, content :
GUIContent
, style :
GUIStyle
) :
Rect
Parameters
Name
Description
position
the world-space position to use
content
the content to make room for
style
the style to use. The style's alignment
Description
Figure out a rectangle to display a 2D GUI element in 3D space.