TSubclassOf::GetDefaultObject

Syntax

TClass * GetDefaultObject() const

Remarks

Get the CDO if we are referencing a valid class

Returns

the CDO, or null if class is null

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/Templates/SubclassOf.h