WorldToScreenPoint(Camera, Vector3)
Transforms a position in world space into a screen space point.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public static Vector2 WorldToScreenPoint(Camera cam, Vector3 worldPoint)
Parameters
Returns
Type | Description |
|---|---|
| Vector2 | Returns the screen point. |