C# 클래스 UnityEngine.GUILayoutUtility

상속: Object
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Begin void
BeginGroup void
BeginLayoutArea GUILayoutGroup
BeginLayoutGroup GUILayoutGroup
BeginWindow void
CleanupRoots void
CreateGUILayoutGroupInstanceOfType GUILayoutGroup
DoBeginLayoutArea GUILayoutGroup
DoGetAspectRect Rect
DoGetRect Rect
DoGetRect Rect
EndGroup void
EndLayoutGroup void
GetWindowsBounds Rect
INTERNAL_CALL_GetWindowsBounds void
INTERNAL_CALL_Internal_GetWindowRect void
INTERNAL_CALL_Internal_MoveWindow void
Internal_GetWindowRect Rect
Internal_MoveWindow void
Layout void
LayoutFreeGroup void
LayoutFromEditorWindow void
LayoutFromInspector float
LayoutSingleGroup void
SelectIDList LayoutCache

공개 메소드들

메소드 설명
GetAspectRect ( float aspect ) : Rect

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

GetAspectRect ( float aspect, GUIStyle style ) : Rect

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

GetLastRect ( ) : Rect

Get the rectangle last used by GUILayout for a control.

GetRect ( GUIContent content, GUIStyle style ) : Rect

Reserve layout space for a rectangle for displaying some contents with a specific style.

GetRect ( float width, float height ) : Rect

Reserve layout space for a rectangle with a fixed content area.

GetRect ( float width, float height, GUIStyle style ) : Rect

Reserve layout space for a rectangle with a fixed content area.

GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight ) : Rect

Reserve layout space for a flexible rect.

GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight, GUIStyle style ) : Rect

Reserve layout space for a flexible rect.

비공개 메소드들

메소드 설명
Begin ( int instanceID ) : void
BeginGroup ( string GroupName ) : void
BeginLayoutArea ( GUIStyle style, System layoutType ) : GUILayoutGroup
BeginLayoutGroup ( GUIStyle style, GUILayoutOption options, System layoutType ) : GUILayoutGroup
BeginWindow ( int windowID, GUIStyle style, GUILayoutOption options ) : void
CleanupRoots ( ) : void
CreateGUILayoutGroupInstanceOfType ( System LayoutType ) : GUILayoutGroup
DoBeginLayoutArea ( GUIStyle style, System layoutType ) : GUILayoutGroup
DoGetAspectRect ( float aspect, GUIStyle style, GUILayoutOption options ) : Rect
DoGetRect ( GUIContent content, GUIStyle style, GUILayoutOption options ) : Rect
DoGetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight, GUIStyle style, GUILayoutOption options ) : Rect
EndGroup ( string groupName ) : void
EndLayoutGroup ( ) : void
GetWindowsBounds ( ) : Rect
INTERNAL_CALL_GetWindowsBounds ( Rect &value ) : void
INTERNAL_CALL_Internal_GetWindowRect ( int windowID, Rect &value ) : void
INTERNAL_CALL_Internal_MoveWindow ( int windowID, Rect &r ) : void
Internal_GetWindowRect ( int windowID ) : Rect
Internal_MoveWindow ( int windowID, Rect r ) : void
Layout ( ) : void
LayoutFreeGroup ( GUILayoutGroup toplevel ) : void
LayoutFromEditorWindow ( ) : void
LayoutFromInspector ( float width ) : float
LayoutSingleGroup ( GUILayoutGroup i ) : void
SelectIDList ( int instanceID, bool isWindow ) : LayoutCache

메소드 상세

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

GetAspectRect() 공개 정적인 메소드

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

public static GetAspectRect ( float aspect, GUIStyle style ) : Rect
aspect float The aspect ratio of the element (width / height).
style GUIStyle 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.
리턴 Rect

GetLastRect() 공개 정적인 메소드

Get the rectangle last used by GUILayout for a control.

public static GetLastRect ( ) : Rect
리턴 Rect

GetRect() 공개 정적인 메소드

Reserve layout space for a rectangle for displaying some contents with a specific style.

public static GetRect ( GUIContent content, GUIStyle style ) : Rect
content GUIContent The content to make room for displaying.
style GUIStyle The GUIStyle to layout for.
리턴 Rect

GetRect() 공개 정적인 메소드

Reserve layout space for a rectangle with a fixed content area.

public static GetRect ( float width, float height ) : Rect
width float The width of the area you want.
height float The height of the area you want.
리턴 Rect

GetRect() 공개 정적인 메소드

Reserve layout space for a rectangle with a fixed content area.

public static GetRect ( float width, float height, GUIStyle style ) : Rect
width float The width of the area you want.
height float The height of the area you want.
style GUIStyle 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.
리턴 Rect

GetRect() 공개 정적인 메소드

Reserve layout space for a flexible rect.

public static GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight ) : Rect
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.
리턴 Rect

GetRect() 공개 정적인 메소드

Reserve layout space for a flexible rect.

public static GetRect ( float minWidth, float maxWidth, float minHeight, float maxHeight, GUIStyle style ) : Rect
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 GUIStyle 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.
리턴 Rect