Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetTools
Modular-feature interface that lets ChaosClothAssetTools delegate legacy UClothingAssetCommon -> UChaosClothAsset conversion to FLegacyClothingConverter::ConvertInto, which lives in the higher-level ChaosClothAssetEditor module. The dependency direction prevents a direct call (ChaosClothAssetEditor -> ChaosClothAssetTools), so the higher module registers an implementation on startup and the lower module looks it up via IModularFeatures when the right-click "Export to Chaos Cloth Asset" exporter runs.
Returns true on success (TargetAsset has been populated by the new converter). Returns false when the converter rejected the inputs; with no registered implementation, the caller should fall back to the legacy in-tree exporter logic.
| Name | ILegacyClothingConverterProvider |
| Type | class |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetTools/Public/ChaosClothAsset/LegacyClothingConverterProvider.h |
| Include Path | #include "ChaosClothAsset/LegacyClothingConverterProvider.h" |
Syntax
class ILegacyClothingConverterProvider : public IModularFeature
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FeatureName | const FName | ChaosClothAsset/LegacyClothingConverterProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ConvertInto
(
const UClothingAssetCommon* Source, |
ChaosClothAsset/LegacyClothingConverterProvider.h |