public Vector2 WorldToGUIPoint (Vector3 worldPoint);

Parameters

worldPoint@param point Точка в пространстве в мировых координатах.

Returns

Vector2 A point in GUI space.

Description

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

Uses the cached camera matrices and viewport to calculate the projection.

See also HandleUtility.WorldToGUIPoint.