Manual     Reference     Scripting  
  
Scripting > Editor Classes > HandleUtility   

HandleUtility.WorldToGUIPoint  

static function WorldToGUIPoint (world : Vector3) : Vector2

Description

Convert world space point to a 2D GUI position.

Uses the current camera to calculate the projection.

See Also: GUIPointToWorldRay.