Files
UnrealEngineUWP/Engine/Source/Editor/ClothingSystemEditor/Private/ClothingSystemEditorModule.cpp
Benn Gallagher 8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00

33 lines
944 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ClothingSystemEditorModule.h"
#include "ClothingSystemEditorInterfaceModule.h"
#include "ClothingSimulationFactoryNv.h"
#include "SimulationEditorExtenderNv.h"
#include "ClothingAssetFactory.h"
#include "Modules/ModuleManager.h"
#include "Features/IModularFeatures.h"
IMPLEMENT_MODULE(FClothingSystemEditorModule, ClothingSystemEditor);
FClothingSystemEditorModule::FClothingSystemEditorModule()
{
}
void FClothingSystemEditorModule::StartupModule()
{
IModularFeatures::Get().RegisterModularFeature(IClothingAssetFactoryProvider::FeatureName, this);
}
void FClothingSystemEditorModule::ShutdownModule()
{
IModularFeatures::Get().UnregisterModularFeature(IClothingAssetFactoryProvider::FeatureName, this);
}
UClothingAssetFactoryBase* FClothingSystemEditorModule::GetFactory()
{
return UClothingAssetFactory::StaticClass()->GetDefaultObject<UClothingAssetFactoryBase>();
}