Files
UnrealEngine/Engine/Source/Runtime/ClothingSystemRuntimeNv/Private/ClothingSystemRuntimeModuleNv.cpp
2025-05-18 13:04:45 +08:00

44 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ClothingSystemRuntimeModuleNv.h"
#include "ClothingSimulationFactoryNv.h"
#include "Features/IModularFeatures.h"
#include "Misc/Paths.h"
#include "HAL/PlatformProcess.h"
#include "Modules/ModuleManager.h"
#include "NvClothSupport.h"
IMPLEMENT_MODULE(FClothingSystemRuntimeModuleNv, ClothingSystemRuntimeNv);
FClothingSystemRuntimeModuleNv::FClothingSystemRuntimeModuleNv()
{
}
void FClothingSystemRuntimeModuleNv::StartupModule()
{
IModularFeatures::Get().RegisterModularFeature(IClothingSimulationFactoryClassProvider::FeatureName, this);
}
void FClothingSystemRuntimeModuleNv::ShutdownModule()
{
IModularFeatures::Get().UnregisterModularFeature(IClothingSimulationFactoryClassProvider::FeatureName, this);
}
nv::cloth::Factory* FClothingSystemRuntimeModuleNv::GetSoftwareFactory()
{
return nullptr;
}
nv::cloth::ClothMeshQuadifier* FClothingSystemRuntimeModuleNv::GetMeshQuadifier()
{
return nullptr;
}
TSubclassOf<UClothingSimulationFactory> FClothingSystemRuntimeModuleNv::GetClothingSimulationFactoryClass() const
{
return nullptr;
}