TTargetPlatformBase::GetRuntimePlatformType

Return the TargetType this platform uses at runtime.

Unreal Engine C++ API Reference > Developer > TargetPlatform > Common > TTargetPlatformBase

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h
Include #include "Common/TargetPlatformBase.h"
virtual 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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library