UClass::GetDefaultObjectSubobjects

Gets all default instanced objects (often components).

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/Class.h"

Source

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

Syntax

void GetDefaultObjectSubobjects
(
    TArray< UObject * > & OutDefaultSubobjects
)

Remarks

Gets all default instanced objects (often components).

Parameters

Parameter

Description

OutDefaultSubobjects

An array to be filled with default subobjects.

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