메소드 | 설명 | |
---|---|---|
CalcHeight ( |
How tall this element will be when rendered with content and a specific width.
|
|
CalcMinMaxWidth ( |
||
CalcScreenSize ( Vector2 contentSize ) : Vector2 |
Calculate the size of an element formatted with this style, and a given space to content.
|
|
CalcSize ( |
Calculate the size of some content if it is rendered with this style.
|
|
Draw ( |
Draw the GUIStyle with text and an image inside. If the image is too large to fit within the content area of the style it is scaled down.
|
|
Draw ( |
Draw the GUIStyle with text and an image inside. If the image is too large to fit within the content area of the style it is scaled down.
|
|
Draw ( |
Draw the GUIStyle with text and an image inside. If the image is too large to fit within the content area of the style it is scaled down.
|
|
Draw ( |
Draw the GUIStyle with an image inside. If the image is too large to fit within the content area of the style it is scaled down.
|
|
Draw ( |
Draw this GUIStyle on to the screen, internal version.
|
|
Draw ( |
Draw the GUIStyle with a text string inside.
|
|
DrawCursor ( |
Draw this GUIStyle with selected content.
|
|
DrawWithTextSelection ( |
Draw this GUIStyle with selected content.
|
|
GUIStyle ( ) : System |
Constructor for empty GUIStyle.
|
|
GUIStyle ( |
Constructs GUIStyle identical to given other GUIStyle.
|
|
GetCursorPixelPosition ( |
Get the pixel position of a given string index.
|
|
GetCursorStringIndex ( |
Get the cursor position (indexing into contents.text) when the user clicked at cursorPixelPosition.
|
|
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
AssignRectOffset ( int idx, |
||
AssignStyleState ( int idx, |
||
CalcSizeWithConstraints ( |
||
Cleanup ( ) : void | ||
CleanupRoots ( ) : void | ||
DrawPrefixLabel ( |
||
DrawWithTextSelection ( |
||
GetFontInternal ( ) : |
||
GetFontInternalDuringLoadingThread ( ) : |
||
GetNumCharactersThatFitWithinWidth ( string text, float width ) : int | ||
GetRectOffsetPtr ( int idx ) : |
||
GetStyleStatePtr ( int idx ) : |
||
INTERNAL_CALL_GetRectOffsetPtr ( |
||
INTERNAL_CALL_GetStyleStatePtr ( |
||
INTERNAL_CALL_Internal_CalcSizeWithConstraints ( |
||
INTERNAL_CALL_Internal_Draw2 ( |
||
INTERNAL_CALL_Internal_DrawCursor ( |
||
INTERNAL_CALL_Internal_DrawPrefixLabel ( |
||
INTERNAL_CALL_Internal_GetCursorPixelPosition ( |
||
INTERNAL_CALL_Internal_GetCursorStringIndex ( |
||
INTERNAL_CALL_SetMouseTooltip ( |
||
INTERNAL_get_Internal_clipOffset ( Vector2 &value ) : void | ||
INTERNAL_get_contentOffset ( Vector2 &value ) : void | ||
INTERNAL_set_Internal_clipOffset ( Vector2 &value ) : void | ||
INTERNAL_set_contentOffset ( Vector2 &value ) : void | ||
Init ( ) : void | ||
InitCopy ( |
||
InternalOnAfterDeserialize ( ) : void | ||
Internal_CalcHeight ( |
||
Internal_CalcMinMaxWidth ( |
||
Internal_CalcSize ( |
||
Internal_CalcSizeWithConstraints ( |
||
Internal_Draw ( |
||
Internal_Draw ( |
||
Internal_Draw2 ( |
||
Internal_DrawCursor ( |
||
Internal_DrawPrefixLabel ( |
||
Internal_DrawWithTextSelection ( |
||
Internal_GetCursorFlashOffset ( ) : float | ||
Internal_GetCursorPixelPosition ( |
||
Internal_GetCursorStringIndex ( |
||
Internal_GetLineHeight ( |
||
Internal_GetNumCharactersThatFitWithinWidth ( |
||
SetDefaultFont ( |
||
SetFontInternal ( |
||
SetMouseTooltip ( string tooltip, |
public CalcHeight ( |
||
content | ||
width | float | |
리턴 | float |
public CalcMinMaxWidth ( |
||
content | ||
minWidth | float | |
maxWidth | float | |
리턴 | void |
public CalcScreenSize ( Vector2 contentSize ) : Vector2 | ||
contentSize | Vector2 | |
리턴 | Vector2 |
public Draw ( |
||
position | ||
content | ||
isHover | bool | |
isActive | bool | |
on | bool | |
hasKeyboardFocus | bool | |
리턴 | void |
public Draw ( |
||
position | ||
content | ||
controlID | int | |
리턴 | void |
public Draw ( |
||
position | ||
content | ||
controlID | int | |
on | bool | |
리턴 | void |
public Draw ( |
||
position | ||
image | ||
isHover | bool | |
isActive | bool | |
on | bool | |
hasKeyboardFocus | bool | |
리턴 | void |
public Draw ( |
||
position | ||
isHover | bool | |
isActive | bool | |
on | bool | |
hasKeyboardFocus | bool | |
리턴 | void |
public Draw ( |
||
position | ||
text | string | |
isHover | bool | |
isActive | bool | |
on | bool | |
hasKeyboardFocus | bool | |
리턴 | void |
public DrawCursor ( |
||
position | ||
content | ||
controlID | int | |
Character | int | |
리턴 | void |
public DrawWithTextSelection ( |
||
position | ||
content | ||
controlID | int | |
firstSelectedCharacter | int | |
lastSelectedCharacter | int | |
리턴 | void |
public GetCursorPixelPosition ( |
||
position | ||
content | ||
cursorStringIndex | int | |
리턴 | Vector2 |
public GetCursorStringIndex ( |
||
position | ||
content | ||
cursorPixelPosition | Vector2 | |
리턴 | int |