ドキュメント

Unity Engine

Unity Engine

WorldToScreenPoint(Vector3)

Transforms position from world space into screen space using the cached camera projection and viewport.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Vector2 WorldToScreenPoint(Vector3 worldPoint)

Parameters

worldPoint

A point in world space.

Returns

Type

Description

Vector2The converted point in screen space.