Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UClass > GetDefaultObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include | #include "UObject/Class.h" |
template<class T>
T &42; GetDefaultObject&40;&41; const
Remarks
Get the default object from the class and cast to a particular type the CDO for this class