This version of Unity is unsupported.

CameraProjectionCache.GUIToScreenPoint

Declaration

public Vector2 GUIToScreenPoint(Vector2 guiPoint);

Parameters

guiPoint A point in GUI space to convert to screen space.

Returns

Vector2 guiPoint in screen space relative to the cached camera viewport.

Description

Converts a point from GUI position to screen space relative to the cached camera viewport.