Navigation
Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > ITargetPlatform
- ITargetPlatform::GetRuntimePlatformType()
References
Module | TargetPlatform |
Header | /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h |
Include | #include "Interfaces/ITargetPlatform.h" |
EBuildTargetType GetRuntimePlatformType() const
Remarks
Return the TargetType this platform uses at runtime. Some TargetPlatforms like CookedEditors need to cook with one type, like Client, but then will run as an Editor. Decisions made based solely on the cook type may cause data mismatches if the runtime type is different. This is also useful for knowing what plugins will be enabled at runtime.