Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CalcHeight(GUIContent, float)

How tall this element will be when rendered with content and a specific width.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
public float CalcHeight(GUIContent content, float width)

Parameters

content


width

Returns

Type

Description

float