This version of Unity is unsupported.

CameraProjectionCache.WorldToScreenPoint

Declaration

public Vector2 WorldToScreenPoint(Vector3 worldPoint);

Parameters

worldPoint A point in world space.

Returns

Vector2 The converted point in screen space.

Description

Transforms position from world space into screen space using the cached camera projection and viewport.