Home
Manual
Reference
Scripting
Scripting Reference
Switch to Component
GUIStyle
.GetCursorPixelPosition
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
GUIStyle
All Members
Variables
active
alignment
border
clipping
contentOffset
fixedHeight
fixedWidth
focused
font
fontSize
fontStyle
hover
imagePosition
lineHeight
margin
name
normal
onActive
onFocused
onHover
onNormal
overflow
padding
richText
stretchHeight
stretchWidth
wordWrap
Constructors
GUIStyle
Functions
CalcHeight
CalcMinMaxWidth
CalcScreenSize
CalcSize
Draw
DrawCursor
DrawWithTextSelection
GetCursorPixelPosition
GetCursorStringIndex
Class Variables
none
Class Functions
operator GUIStyle
function
GetCursorPixelPosition (position :
Rect
, content :
GUIContent
, cursorStringIndex :
int
) :
Vector2
Description
Get the pixel position of a given string index.