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
- GeeksForGeeks
- winapi
- 1563
- baekjoon
- 프로그래머스
- NRVO
- 2294
- 오블완
- directx
- UnrealEngine4
- RVO
- 언리얼엔진5
- algorithm
- IFileDialog
- 줄 세우기
- UnrealEngine5
- RootMotion
- DirectX11
- softeer
- 팰린드롬 만들기
- Programmers
- C++
- UE5
- C
- const
- 티스토리챌린지
- Frustum
- 백준
- Unreal Engine5
- TObjectPtr
Archives
- Today
- Total
목록언리얼엔진 (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