Navigation
Unreal Engine C++ API Reference > Editor > ClothingSystemEditorInterface > UClothingAssetFactoryBase
- UClothingAssetFactoryBase::CreateFromExistingCloth()
References
Module | ClothingSystemEditorInterface |
Header | /Engine/Source/Editor/ClothingSystemEditorInterface/Public/ClothingAssetFactoryInterface.h |
Include | #include "ClothingAssetFactoryInterface.h" |
virtual [UClothingAssetBase](API\Runtime\ClothingSystemRuntimeInterface\UClothingAssetBase) * CreateFromExistingCloth ( [USkeletalMesh](API\Runtime\Engine\Engine\USkeletalMesh) * TargetMesh, [USkeletalMesh](API\Runtime\Engine\Engine\USkeletalMesh) * SourceMesh, [UClothingAssetBase](API\Runtime\ClothingSystemRuntimeInterface\UClothingAssetBase) * SourceAsset )
Remarks
Given a target mesh and a source clothing asset bound to source mesh, clone the clothing asset for use on the target mesh
Parameters
Name | Description |
---|---|
TargetMesh | The mesh to target |
SourceMesh | The mesh to copy the clothing asset from |
SourceAsset | The clothing asset to copy |