The
Application Programming Interface (API) is the way in which you, as the programmer, instruct the engine, and so the PC, what to do. All of UE4's functionality is encapsulated into modules, including very basic and core functionality. Each module has an API for it. To use an API, there is a very important linkage step, where you must list all APIs that you will be using in your build in a ProjectName.Build.cs
file, which is located in your Solution Explorer window.
There are a variety of APIs inside the UE4 engine that expose functionality to various essential parts of it. Some of the interesting APIs that we'll explore in this chapter are as follows:
FMessageLog
to write messages to the Message LogFRotator
FQuat
FRotationMatrix
to have one object face anotherAttributeSet
GameplayEffect
GameplayTags
to an actorGameplayTasks
The UE4 engine's base functionality available in the editor is quite broad. The functionality from C++ code is actually grouped out into little sections called APIs. There is a separate API module for each important functionality in the UE4 codebase. This is done to keep the codebase highly organized and modular.
The complete API listing is located in the following documentation: https://docs.unrealengine.com/latest/INT/API/.
18.221.187.207