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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UClothingAssetFactoryBase::CreateFromExistingCloth()

UClothingAssetFactory::CreateFromExistingCloth()

References

Module

ClothingSystemEditor

Header

/Engine/Source/Editor/ClothingSystemEditor/Public/ClothingAssetFactory.h

Include

#include "ClothingAssetFactory.h"

Source

/Engine/Source/Editor/ClothingSystemEditor/Private/ClothingAssetFactory.cpp

Syntax

virtual UClothingAssetBase * CreateFromExistingCloth
(
    USkeletalMesh * TargetMesh,
    USkeletalMesh * SourceMesh,
    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

Parameter

Description

TargetMesh

The mesh to target

SourceMesh

The mesh to copy the clothing asset from

SourceAsset

The clothing asset to copy