Engines‎ > ‎Unreal‎ > ‎

Code


Structure

The code is found in Engine/Source. It is split into five folders.
  • Runtime - Files used by the engine.
  • Editor - Files used by the editor.
  • Developer - Files used by both the editor and the engine.
  • Programs - External tools used by engine or editor.
  • Thirdparty - Thirdparty source.
Inside each one there is a number of modules. Platform specific modules are placed in a folder named after the platform. Each module are split into a private and a public folder. Inside each there can be platform specific folders.
  • Private - Contains all .cpp files.
  • Public - Contains the module header file
  • Classes - A folder that was used to contain UObjects based classes but it is now deprecated and they can be placed anywhere.
Where is it

This is a list of where to look for specific things in the code.

Runtime
 Name   
 Code Path Description
 Math
 Runtime/Core/Public/Math 
 Render Hardware Interface (RHI)
 Runtime/RHI 
 DX11 Runtime/Windows/D3D11RHI 
 Metal Runtime/Apple/MetalRHI 
 OpenGL Runtime/OpenGLDrv 

Editor
 Name     Code Path
 Description
 Animation Blueprint Editor Editor/AnimationBlueprintEditor 
 Animation Editor  
 BehaviorTree Editor Editor/BehaviorTreeEditor 
 Blackboard Editor Editor/BehaviorTreeEditor 
 Blueprint Editor  Editor/Kismet 
 Material Editor  Editor/MaterialEditor 
 Physics Editor Editor/PhysicAssetEditor 
 Skeletal Mesh Editor Editor/SkeletalMeshEditor 
 Static Mesh Editor Editor/StaticMeshEditor 
 Texture Editor Editor/TextureEditor 
 Skeleton Editor Editor/SkeletonEditor 

Developer

Customize Unreal Engine

This is classes and interfaces used to customize things in unreal.

Editor
 Name Description Reference
 IDetailCustomization Extending the details panel - 2018
Details Panel Customization - 2016
 FGameplayDebuggerCategory Creating Custom Gameplay Debugger Categories - 2017

Gameplay Framework
 Name Description Reference
 AGameModeBase  
 AGameStateBase  
 APlayerController  
 APlayerState  
 UGameInstanceSpawned at game creation and not destroyed until game instance is shut down.
 

Actors
 Name Description Reference
 AActor  
 APawn  
 ACharacter  
 APlayerCameraManager  

Actor Components
 Name Description Reference
 UActorComponent  
 USceneComponent  
 UCameraComponent  
 USpringArmComponent  

AI
 Name Description Reference
 AAIController  
 UBTDecorator  
 UBTTask_GameplayTaskBase  
 UCharacterMovementComponent  

Animation
 Name Description Reference
 UAnimNotifyState  
 FAnimNode_SkeletalControlBase  
   

Blueprint
 Name Description Reference
 UBlueprintFunctionLibrary  

Asset
 Name Description Reference
 UDataAsset  

UI
 Name Description Reference
 UUserWidget  Creating Custom Editor Assets - 2017


 Name Description Reference


Reference


Comments