Home
Manual
Reference
Scripting
Scripting Reference
Switch to Component
GUIStyle
.CalcHeight
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
CalcHeight (content :
GUIContent
, width :
float
) :
float
Description
How tall this element will be when rendered with
content
and a specific
width
.