UnityEngine.GUILayoutUtility.GetAspectRect C# (CSharp) Метод

GetAspectRect() публичный статический Метод

Reserve layout space for a rectangle with a specific aspect ratio.

public static GetAspectRect ( float aspect ) : Rect
aspect float The aspect ratio of the element (width / height).
Результат Rect
        public static Rect GetAspectRect(float aspect)
        {
            return DoGetAspectRect(aspect, GUIStyle.none, null);
        }

Same methods

GUILayoutUtility::GetAspectRect ( float aspect, GUIStyle style ) : Rect