GetMutableDefault

Gets the mutable default object of a class.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Syntax

template<class T>
T * GetMutableDefault
(
    UClass * Class
)

Remarks

Gets the mutable default object of a class.

Returns

Class default object (CDO).

Parameters

Parameter

Description

Class

The class to get the CDO for.

See Also