CalcMinMaxWidth(GUIContent, out float, out float)
Calculate the minimum and maximum widths for this style rendered with content.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.IMGUIModule
CalcMinMaxWidth(GUIContent, float, float)
public void CalcMinMaxWidth(GUIContent content, out float minWidth, out float maxWidth)
Parameters
Remarks
Used by GUILayout to handle word-wrapping elements correctly.