This version of Unity is unsupported.

HandleUtility.WorldToGUIPoint

Declaration

public static Vector2 WorldToGUIPoint(Vector3 world);

Parameters

world Point in world space.

Description

Convert a world space point to a 2D GUI position.

Uses the current camera to calculate the projection.

See Also: GUIPointToWorldRay, RaySnap.