ドキュメント

Unity Engine

Unity Engine

GUIToScreenPoint(Vector2)

Converts a point from GUI position to screen space relative to the cached camera viewport.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public Vector2 GUIToScreenPoint(Vector2 guiPoint)

Parameters

guiPoint

A point in GUI space to convert to screen space.

Returns

Type

Description

Vector2
guiPoint
in screen space relative to the cached camera viewport.

Remarks