UClothingAssetFactory::CreateFromExistingCloth

Given a target mesh and a source clothing asset bound to source mesh, clone the clothing asset for use on the target mesh

Unreal Engine C++ API Reference > Editor > ClothingSystemEditor > UClothingAssetFactory

References

   
Module ClothingSystemEditor
Header /Engine/Source/Editor/ClothingSystemEditor/Public/ClothingAssetFactory.h
Include #include "ClothingAssetFactory.h"
Source /Engine/Source/Editor/ClothingSystemEditor/Private/ClothingAssetFactory.cpp
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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library