UObjectBaseUtility::IsDefaultSubobject

Returns whether this component was instanced from a component/subobject template, or if it is a component/subobject template.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectBaseUtility.h"

Source

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

Syntax

bool IsDefaultSubobject() const

Remarks

Returns whether this component was instanced from a component/subobject template, or if it is a component/subobject template. This is based on a name comparison with the outer class instance lookup table

Returns

true if this component was instanced from a template. false if this component was created manually at runtime.

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