UObject::CreateDefaultSubobject

Utility function for templates below

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Object.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp

Syntax

UObject * CreateDefaultSubobject
(
    FName SubobjectFName,
    UClass * ReturnType,
    UClass * ClassToCreateByDefault,
    bool bIsRequired,
    bool bIsTransient
)

Remarks

Utility function for templates below

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss