Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- Unreal Engine5
- 언리얼엔진5
- DirectX11
- 백준
- TObjectPtr
- C++
- GeeksForGeeks
- 1563
- directx
- 2294
- 줄 세우기
- UnrealEngine5
- UE5
- Programmers
- algorithm
- softeer
- NRVO
- IFileDialog
- winapi
- baekjoon
- RVO
- 팰린드롬 만들기
- C
- UnrealEngine4
- 프로그래머스
- RootMotion
- 오블완
- Effective C++
- const
- 티스토리챌린지
Archives
- Today
- Total
목록LoadClass (1)
Game Develop
[UE5] C++로 위젯블루프린트 생성 후 부착하기
튜토리얼?이라던가 그런것들 보면 보통 생성자에서 부착해서 쓰고들 한다. 그래서 생성자에서만 호출 가능한 로드함수들을 사용하고는 한다. CreateDefaultSubobject라던가 ConstructorHelpers::FClassFinder (혹은 FObjectFinder 등) 같은 걸 쓴다. 일단 기존의 생성자에서 호출하는 코드. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 UWidgetComponent* widgetComponent = CreateDefaultSubobject(*assetPath); widgetComponent->SetupAttachment(mesh); widgetComponent->SetRelativeLocation(relativeLocation); wi..
UnrealEngine5/이것저것
2023. 8. 16. 02:57