Version: 2021.3
public Vector2 WorldToScreenPoint (Vector3 worldPoint);

参数

worldPoint 世界空间中的点。

返回

Vector2 The converted point in screen space.

描述

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