Navigation
API > API/Editor > API/Editor/SubobjectDataInterface > API/Editor/SubobjectDataInterface/USubobjectDataSubsystem
References
| Module | SubobjectDataInterface |
| Header | /Engine/Source/Editor/SubobjectDataInterface/Public/SubobjectDataSubsystem.h |
| Include | #include "SubobjectDataSubsystem.h" |
| Source | /Engine/Source/Editor/SubobjectDataInterface/Private/SubobjectDataSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="SubobjectDataSubsystem")
bool ChangeSubobjectClass
(
const FSubobjectDataHandle & Handle,
const UClass * NewClass
)
Remarks
Attempts to change the subclass of a native component True if the class change was successful, false otherwise.
Parameters
| Name | Description |
|---|---|
| Handle | Handle to the subobject to change class of |
| NewClass | The new class that is desired for the given subobject |