|
KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
|
심플한 텍스쳐 기반 버튼 위젯 더 자세히 ...
#include <UTextureButton.h>
UTextureButton에 대한 상속 다이어그램 :
UTextureButton에 대한 협력 다이어그램:Public 멤버 함수 | |
| void | SetButtonEnabled (bool bInEnabled) |
| 버튼 활성화 상태 설정 | |
| void | SetButtonSize (float InWidth, float InHeight) |
| 버튼 크기 설정 | |
| void | SetButtonTexture (UTexture2D *InTexture) |
| 버튼 배경 텍스쳐 설정 | |
| void | SetSymbolTexture (UTexture2D *InTexture) |
| 심볼 이미지 텍스쳐 설정 | |
Public 속성 | |
| float | ButtonHeight = 100.0f |
| 버튼 높이 | |
| UTexture2D * | ButtonTexture = nullptr |
| 버튼 배경 텍스쳐 | |
| float | ButtonWidth = 100.0f |
| 버튼 너비 | |
| FLinearColor | DisabledSymbolColor = FLinearColor(0.5f, 0.5f, 0.5f, 1.0f) |
| Disabled 상태 심볼 색상 | |
| FLinearColor | HoverSymbolColor = FLinearColor(1.2f, 1.2f, 1.2f, 1.0f) |
| Hover 상태 심볼 색상 | |
| FLinearColor | NormalSymbolColor = FLinearColor::White |
| Normal 상태 심볼 색상 | |
| FOnTextureButtonClickedEvent | OnButtonClickedEvent |
| 버튼 클릭 이벤트 | |
| FLinearColor | PressSymbolColor = FLinearColor(0.8f, 0.8f, 0.8f, 1.0f) |
| Press 상태 심볼 색상 | |
| UTexture2D * | SymbolTexture = nullptr |
| 심볼 이미지 텍스쳐 | |
Protected 멤버 함수 | |
| virtual void | NativeConstruct () override |
| virtual void | NativePreConstruct () override |
Private 멤버 함수 | |
| void | ApplySymbolColor (const FLinearColor &Color) |
| void | ApplyTextures () |
| void | HandleClicked () |
| void | HandleHovered () |
| void | HandlePressed () |
| void | HandleReleased () |
| void | HandleUnhovered () |
Private 속성 | |
| bool | bEnabled = true |
| class UButton * | Button_Main |
| class UImage * | Image_Symbol |
심플한 텍스쳐 기반 버튼 위젯
Button이 배경 텍스쳐를 가지고, 그 안에 Image가 심볼로 표시됩니다.
UTextureButton.h 파일의 19 번째 라인에서 정의되었습니다.
|
private |
UTextureButton.cpp 파일의 126 번째 라인에서 정의되었습니다.
다음을 참조함 : Color, Image_Symbol.
다음에 의해서 참조됨 : ApplyTextures(), HandleHovered(), HandlePressed(), HandleReleased(), HandleUnhovered(), NativeConstruct(), SetButtonEnabled().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UTextureButton.cpp 파일의 38 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), Button_Main, ButtonHeight, ButtonTexture, ButtonWidth, Image_Symbol, NormalSymbolColor, SetButtonSize(), SymbolTexture.
다음에 의해서 참조됨 : NativePreConstruct().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UTextureButton.cpp 파일의 134 번째 라인에서 정의되었습니다.
다음을 참조함 : bEnabled, OnButtonClickedEvent.
다음에 의해서 참조됨 : NativeConstruct().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UTextureButton.cpp 파일의 142 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), bEnabled, HoverSymbolColor.
다음에 의해서 참조됨 : NativeConstruct().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UTextureButton.cpp 파일의 158 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), bEnabled, PressSymbolColor.
다음에 의해서 참조됨 : NativeConstruct().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UTextureButton.cpp 파일의 166 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), bEnabled, Button_Main, HoverSymbolColor, NormalSymbolColor.
다음에 의해서 참조됨 : NativeConstruct().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
private |
UTextureButton.cpp 파일의 150 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), bEnabled, NormalSymbolColor.
다음에 의해서 참조됨 : NativeConstruct().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
overrideprotectedvirtual |
UTextureButton.cpp 파일의 14 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), Button_Main, HandleClicked(), HandleHovered(), HandlePressed(), HandleReleased(), HandleUnhovered(), NormalSymbolColor.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
|
overrideprotectedvirtual |
UTextureButton.cpp 파일의 8 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyTextures().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:| void UTextureButton::SetButtonEnabled | ( | bool | bInEnabled | ) |
버튼 활성화 상태 설정
| bInEnabled | 활성화 여부 |
UTextureButton.cpp 파일의 106 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplySymbolColor(), bEnabled, Button_Main, DisabledSymbolColor, NormalSymbolColor.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:| void UTextureButton::SetButtonSize | ( | float | InWidth, |
| float | InHeight | ||
| ) |
버튼 크기 설정
| InWidth | 버튼 너비 |
| InHeight | 버튼 높이 |
UTextureButton.cpp 파일의 91 번째 라인에서 정의되었습니다.
다음을 참조함 : Button_Main, ButtonHeight, ButtonWidth.
다음에 의해서 참조됨 : ApplyTextures().
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void UTextureButton::SetButtonTexture | ( | UTexture2D * | InTexture | ) |
버튼 배경 텍스쳐 설정
| InTexture | 설정할 배경 텍스쳐 |
UTextureButton.cpp 파일의 64 번째 라인에서 정의되었습니다.
다음을 참조함 : Button_Main, ButtonTexture.
| void UTextureButton::SetSymbolTexture | ( | UTexture2D * | InTexture | ) |
심볼 이미지 텍스쳐 설정
| InTexture | 설정할 심볼 텍스쳐 |
UTextureButton.cpp 파일의 81 번째 라인에서 정의되었습니다.
다음을 참조함 : Image_Symbol, SymbolTexture.
|
private |
UTextureButton.h 파일의 120 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleClicked(), HandleHovered(), HandlePressed(), HandleReleased(), HandleUnhovered(), SetButtonEnabled().
|
private |
UTextureButton.h 파일의 115 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyTextures(), HandleReleased(), NativeConstruct(), SetButtonEnabled(), SetButtonSize(), SetButtonTexture().
| float UTextureButton::ButtonHeight = 100.0f |
| UTexture2D* UTextureButton::ButtonTexture = nullptr |
버튼 배경 텍스쳐
UTextureButton.h 파일의 83 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyTextures(), SetButtonTexture().
| float UTextureButton::ButtonWidth = 100.0f |
| FLinearColor UTextureButton::DisabledSymbolColor = FLinearColor(0.5f, 0.5f, 0.5f, 1.0f) |
| FLinearColor UTextureButton::HoverSymbolColor = FLinearColor(1.2f, 1.2f, 1.2f, 1.0f) |
Hover 상태 심볼 색상
UTextureButton.h 파일의 103 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleHovered(), HandleReleased().
|
private |
UTextureButton.h 파일의 118 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplySymbolColor(), ApplyTextures(), SetSymbolTexture().
| FLinearColor UTextureButton::NormalSymbolColor = FLinearColor::White |
Normal 상태 심볼 색상
UTextureButton.h 파일의 99 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyTextures(), HandleReleased(), HandleUnhovered(), NativeConstruct(), SetButtonEnabled().
| FOnTextureButtonClickedEvent UTextureButton::OnButtonClickedEvent |
버튼 클릭 이벤트
UTextureButton.h 파일의 79 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : HandleClicked(), UPopup_MsgBox::InitButton(), UPopup_InputMsg::InitPopup(), ULobbyWidget::NativeConstruct().
| FLinearColor UTextureButton::PressSymbolColor = FLinearColor(0.8f, 0.8f, 0.8f, 1.0f) |
| UTexture2D* UTextureButton::SymbolTexture = nullptr |
심볼 이미지 텍스쳐
UTextureButton.h 파일의 87 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyTextures(), SetSymbolTexture().