HandleUtility.WorldPointToSizedRect Manual     Reference     Scripting  
Scripting > Editor Classes > HandleUtility
HandleUtility.WorldPointToSizedRect

static function WorldPointToSizedRect (position : Vector3, content : GUIContent, style : GUIStyle) : Rect

Parameters

NameDescription
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.