文档

Unity Engine

Unity Engine

WorldToScreenPoint(Vector3)

Transforms position from world space into screen space using the cached camera projection and viewport.
阅读时间1 分钟最后更新于 5 小时前

Definition

public Vector2 WorldToScreenPoint(Vector3 worldPoint)

Parameters

worldPoint

A point in world space.

Returns

Type

Description

Vector2The converted point in screen space.