Files
UnrealEngineUWP/Engine/Source/Editor/SubobjectDataInterface/Private/SubobjectDataInterfaceModule.cpp
ben hoffman 61908bed8a Create the Subobject Data interface module. This provides an API that can be used to manipulate Subobjects such as adding/removing components, reparenting, and changing the scene heirarchy.
The SubobjectDataSubsystem is how users can manipulate a given object within Blueprints or Python scripting. Given a Uobject instance in a level or a UBlueprint asset, you can use GatherSubobjectData to get get an array of handles that you can use to manipulate that subobject.

This is what the new SubobjectEditor (Previously the SCS editor) will be using instead of having all its logic within slate code.

#rb marc.audy
#jira UE-64131
#preflight 6082ce4f8de3a60001cf6af8
#preflight 6082d84a92d7e700019f53e0

[CL 16104548 by ben hoffman in ue5-main branch]
2021-04-23 11:01:15 -04:00

20 lines
670 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SubobjectDataInterfaceModule.h"
#define LOCTEXT_NAMESPACE "FSubobjectDataInterfaceModule"
void FSubobjectDataInterfaceModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
}
void FSubobjectDataInterfaceModule::ShutdownModule()
{
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
// we call this function before unloading the module.
}
#undef LOCTEXT_NAMESPACE
IMPLEMENT_MODULE(FSubobjectDataInterfaceModule, SubobjectDataInterface)