Files
UnrealEngineUWP/Engine/Source/Runtime/ClothingSystemRuntimeNv/Private/ClothingSimulationFactoryNv.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

42 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ClothingSimulationFactoryNv.h"
// 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