결과 화면에서 여러 캐릭터 슬롯(Slot)들을 관리하고 배치하는 컨테이너 위젯.
More...
#include <ResultCharacterPanelWidget.h>
|
|
virtual void | NativeConstruct () override |
|
|
TSubclassOf< UResultCharacterSlotWidget > | SlotWidgetClass |
| | 생성할 슬롯 위젯 클래스 (BP_ResultCharacterSlot).
|
|
TObjectPtr< UPanelWidget > | Container_Slots = nullptr |
| | 슬롯들이 실제로 들어갈 컨테이너 (HorizontalBox 등).
|
|
FMargin | SlotPadding = FMargin(20.0f, 0.0f, 20.0f, 0.0f) |
| | 슬롯 간의 간격 및 여백 설정 (기본값: 좌우 20).
|
|
TEnumAsByte< EHorizontalAlignment > | SlotHorizontalAlignment = HAlign_Center |
| | 가로 정렬 방식 (Left, Center, Right, Fill).
|
|
TEnumAsByte< EVerticalAlignment > | SlotVerticalAlignment = VAlign_Center |
| | 세로 정렬 방식 (Top, Center, Bottom, Fill).
|
|
TEnumAsByte< ESlateSizeRule::Type > | SlotSizeRule = ESlateSizeRule::Automatic |
| | 크기 정책 (Automatic: 내용물 크기만큼, Fill: 남은 공간 꽉 채우기).
|
결과 화면에서 여러 캐릭터 슬롯(Slot)들을 관리하고 배치하는 컨테이너 위젯.
- 데이터 배열(Array)을 받아서 슬롯 위젯을 동적으로 생성하거나 갱신합니다.
- 3명을 관리합니다.
◆ UpdateCharacterSlots()
| void UResultCharacterPanelWidget::UpdateCharacterSlots |
( |
const TArray< FResultCharacterData > & | InCharacterDataList | ) |
|
캐릭터 데이터 목록을 받아 슬롯들을 생성/갱신합니다.
- Parameters
-
| InCharacterDataList | 캐릭터 데이터 배열 |
The documentation for this class was generated from the following files:
- Source/Paradise/Public/UI/Panel/Ingame/Result/ResultCharacterPanelWidget.h
- Source/Paradise/Private/UI/Panel/Ingame/Result/ResultCharacterPanelWidget.cpp