Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/GetMutableDefault
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
template<class T>
T * GetMutableDefault
(
UClass * Class
)
Remarks
Version of GetDefault() that allows modification
Gets the mutable default object of a class. Class default object (CDO).
Parameters
| Name | Description |
|---|---|
| Class | The class to get the CDO for. |