Property | Type | Description | |
---|---|---|---|
Begin | void | ||
BeginGroup | void | ||
BeginLayoutArea | |||
BeginLayoutGroup | |||
BeginWindow | void | ||
CleanupRoots | void | ||
CreateGUILayoutGroupInstanceOfType | |||
DoBeginLayoutArea | |||
DoGetAspectRect | |||
DoGetRect | |||
DoGetRect | |||
EndGroup | void | ||
EndLayoutGroup | void | ||
GetWindowsBounds | |||
INTERNAL_CALL_GetWindowsBounds | void | ||
INTERNAL_CALL_Internal_GetWindowRect | void | ||
INTERNAL_CALL_Internal_MoveWindow | void | ||
Internal_GetWindowRect | |||
Internal_MoveWindow | void | ||
Layout | void | ||
LayoutFreeGroup | void | ||
LayoutFromEditorWindow | void | ||
LayoutFromInspector | float | ||
LayoutSingleGroup | void | ||
SelectIDList | LayoutCache |
Method | Description | |
---|---|---|
GetAspectRect ( float aspect ) : |
Reserve layout space for a rectangle with a specific aspect ratio.
|
|
GetAspectRect ( float aspect, |
Reserve layout space for a rectangle with a specific aspect ratio.
|
|
GetLastRect ( ) : |
Get the rectangle last used by GUILayout for a control.
|
|
GetRect ( |
Reserve layout space for a rectangle for displaying some contents with a specific style.
|
|
GetRect ( float width, float height ) : |
Reserve layout space for a rectangle with a fixed content area.
|
|
GetRect ( float width, float height, |
Reserve layout space for a rectangle with a fixed content area.
|
|
GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight ) : |
Reserve layout space for a flexible rect.
|
|
GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight, |
Reserve layout space for a flexible rect.
|
Method | Description | |
---|---|---|
Begin ( int instanceID ) : void | ||
BeginGroup ( string GroupName ) : void | ||
BeginLayoutArea ( |
||
BeginLayoutGroup ( |
||
BeginWindow ( int windowID, |
||
CleanupRoots ( ) : void | ||
CreateGUILayoutGroupInstanceOfType ( System LayoutType ) : |
||
DoBeginLayoutArea ( |
||
DoGetAspectRect ( float aspect, |
||
DoGetRect ( |
||
DoGetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight, |
||
EndGroup ( string groupName ) : void | ||
EndLayoutGroup ( ) : void | ||
GetWindowsBounds ( ) : |
||
INTERNAL_CALL_GetWindowsBounds ( |
||
INTERNAL_CALL_Internal_GetWindowRect ( int windowID, |
||
INTERNAL_CALL_Internal_MoveWindow ( int windowID, |
||
Internal_GetWindowRect ( int windowID ) : |
||
Internal_MoveWindow ( int windowID, |
||
Layout ( ) : void | ||
LayoutFreeGroup ( |
||
LayoutFromEditorWindow ( ) : void | ||
LayoutFromInspector ( float width ) : float | ||
LayoutSingleGroup ( |
||
SelectIDList ( int instanceID, bool isWindow ) : LayoutCache |
public static GetAspectRect ( float aspect ) : |
||
aspect | float | The aspect ratio of the element (width / height). |
return |
public static GetAspectRect ( float aspect, |
||
aspect | float | The aspect ratio of the element (width / height). |
style | An optional style. If specified, the style's padding value will be added to the sizes of the returned rectangle & the style's margin values will be used for spacing. | |
return |
public static GetRect ( |
||
content | The content to make room for displaying. | |
style | The GUIStyle to layout for. | |
return |
public static GetRect ( float width, float height ) : |
||
width | float | The width of the area you want. |
height | float | The height of the area you want. |
return |
public static GetRect ( float width, float height, |
||
width | float | The width of the area you want. |
height | float | The height of the area you want. |
style | An optional GUIStyle to layout for. If specified, the style's padding value will be added to your sizes & its margin value will be used for spacing. | |
return |
public static GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight ) : |
||
minWidth | float | The minimum width of the area passed back. |
maxWidth | float | The maximum width of the area passed back. |
minHeight | float | The minimum width of the area passed back. |
maxHeight | float | The maximum width of the area passed back. |
return |
public static GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight, |
||
minWidth | float | The minimum width of the area passed back. |
maxWidth | float | The maximum width of the area passed back. |
minHeight | float | The minimum width of the area passed back. |
maxHeight | float | The maximum width of the area passed back. |
style | An optional style. If specified, the style's padding value will be added to the sizes requested & the style's margin values will be used for spacing. | |
return |