UClass::GetDefaultObject

Syntax

template<class T>
T * GetDefaultObject()

Remarks

Get the default object from the class and cast to a particular type

Returns

the CDO for this class

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/Class.h