아래는 Unreal Engine에서 참고하면 좋은(순서와 상관없이) 주요/유용 C++ 파일 목록입니다.
이 중 일부는 이 총정리에서 다루지 않았을 수도 있습니다.
처음부터 모두 이해할 필요는 없지만, 나중에 참고할 만한 파일을 알아두면 도움이 됩니다.
오브젝트 이름 | 헤더 | 소스 | 비고 |
---|---|---|---|
FEngineLoop 문서 | LaunchEngineLoop.h | LaunchEngineLoop.cpp | 언리얼 엔진 전체 애플리케이션의 핵심. 읽어보는 것만 추천, 직접 수정은 비추천. |
[Multiple] | SharedPointer.h | SharedPointerInternals.h | Epic의 Shared(Smart) Pointer 프레임워크가 정의된 곳. 예제는 SharedPointerTesting.ini 참고. |
FSlateApplication 문서 | SlateApplication.h | SlateApplication.cpp | |
FHittestGrid 문서 | HittestGrid.h | HittestGrid.cpp | |
SWidget 문서 | SWidget.h | SWidget.cpp | |
UWidget 문서 | Widget.h | Widget.cpp | |
[Multiple] | DeclarativeSyntaxSupport.h | [없음] | Slate의 선언적 문법 매크로(SNew, SLATE_ARGUMENT 등)가 정의된 곳. 반드시 공부할 파일. |
SUserWidget 문서 | SUserWidget.h | SUserWidget.cpp | |
UUserWidget 문서 | UserWidget.h | UserWidget.cpp | |
FNavigationConfig 문서 | NavigationConfig.h | NavigationConfig.cpp | 내비게이션 관련 구조체와 enum이 대부분 정의되어 있음. |
[Multiple] | SlateEnums.h | [없음] | Slate 관련 enum 타입이 정의된 곳. |
TAttribute 문서 | Attribute.h | [없음] | |
TSlateAttribute 문서 | SWidget.h & SlateAttribute.h | 선언은 SWidget.h 에 있지만, 실제 설명은 SlateAttribute.h 에 있음. | |
[Multiple] | InputCoreTypes.h | InputCoreTypes.cpp | 입력 관련 구조체와 enum이 정의된 곳. |
FInputEvent 문서 | Events.h | Events.cpp | FInputEvent 계층 구조가 정의된 곳. |
SGameLayerManager 문서 | SGameLayerManager.h | SGameLayerManager.cpp | |
UGameViewportClient 문서 | GameViewportClient.h | GameViewportClient.cpp | |
[Multiple] | UnrealClient.h | UnrealClient.cpp | 뷰포트 렌더링 매니저 객체와 일부 기능이 정의됨. 스크린샷 처리(UMG 포함/제외)도 여기서 담당. |
FSceneViewport 문서 | SceneViewport.h | SceneViewport.cpp | 뷰포트의 Slate 위젯이 실질적으로 구현된 곳. |
IInputProcessor 문서 | IInputProcessor.h | [없음] | 입력 프리프로세서의 기본 인터페이스. 상속해서 직접 구현 가능. 예시는 FAnalogCursor 참고. |
FAnalogCursor 문서 | AnalogCursor.h | AnalogCursor.cpp | |
FSlateUser 문서 | SlateUser.h | SlateUser.cpp | |
ULocalPlayer 문서 | LocalPlayer.h | LocalPlayer.cpp | FLocalPlayerContext 도 포함되어 있어 UI 등에서 로컬 플레이어, 컨트롤러, 게임 인스턴스, 월드 등 컨텍스트 전달에 유용. |
UWidgetLayoutLibrary 문서 | WidgetLayoutLibrary.h | WidgetLayoutLibrary.cpp | |
USlateBlueprintLibrary 문서 | SlateBlueprintLibrary.h | SlateBlueprintLibrary.cpp | 스크립트 이름이 "SlateLibrary"로도 되어 있으니 찾기 어려울 때 참고. |
UWidgetBlueprintLibrary 문서 | WidgetBlueprintLibrary.h | WidgetBlueprintLibrary.cpp | 스크립트 이름이 "WidgetLibrary"로도 되어 있으니 찾기 어려울 때 참고. |
UUserinterfaceSettings 문서 | UserinterfaceSettings.h | UserinterfaceSettings.cpp | 렌더 포커스 규칙 등 UI 관련 세팅 데이터 타입도 여기서 선언됨. |
출처 : YawLighthouse : UMG-Slate-Compendium
해당 시리즈는 YawLighthouse의 UMG-Slate-Compendium 문서를 번역한 내용입니다.