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

45 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ClothingSimulationFactoryNv.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(ClothingSimulationFactoryNv)
// Legacy support allowing the loading of older classes that may still reference old NvCloth simulation
// classes. These are no longer expected to work but should still load so the references can be safely changed.
PRAGMA_DISABLE_DEPRECATION_WARNINGS
IClothingSimulation* UClothingSimulationFactoryNv::CreateSimulation()
{
return nullptr;
}
void UClothingSimulationFactoryNv::DestroySimulation(IClothingSimulation* InSimulation)
{
}
bool UClothingSimulationFactoryNv::SupportsAsset(UClothingAssetBase* InAsset)
{
return false;
}
bool UClothingSimulationFactoryNv::SupportsRuntimeInteraction()
{
return true;
}
UClothingSimulationInteractor* UClothingSimulationFactoryNv::CreateInteractor()
{
return nullptr;
}
TArrayView<const TSubclassOf<UClothConfigBase>> UClothingSimulationFactoryNv::GetClothConfigClasses() const
{
return TArrayView<const TSubclassOf<UClothConfigBase>>();
}
const UEnum* UClothingSimulationFactoryNv::GetWeightMapTargetEnum() const
{
return nullptr;
}
PRAGMA_ENABLE_DEPRECATION_WARNINGS