ドキュメント

Unity Engine

Unity Engine

GetCursorPixelPosition(Rect, GUIContent, int)

Get the pixel position of a given string index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public Vector2 GetCursorPixelPosition(Rect position, GUIContent content, int cursorStringIndex)

Parameters

position


content


cursorStringIndex

Returns

Type

Description

Vector2