Navigation
API > API/Editor > API/Editor/ClothingSystemEditorInterface
Clothing asset factories should inherit this interface/uobject to provide functionality to build clothing assets from .apx files imported to the engine
| Name | UClothingAssetFactoryBase |
| Type | class |
| Header File | /Engine/Source/Editor/ClothingSystemEditorInterface/Public/ClothingAssetFactoryInterface.h |
| Include Path | #include "ClothingAssetFactoryInterface.h" |
Syntax
UCLASS (Abstract)
class UClothingAssetFactoryBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UClothingAssetFactoryBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanImport
(
const FString& Filename |
Should return whether or not the factory can handle the incoming file (check validity etc.) | ClothingAssetFactoryInterface.h | |
virtual UClothingAssetBase * CreateFromApexAsset
(
nvidia::apex::ClothingAsset* InApexAsset, |
Given an APEX asset instantiated from the filename checked with CanImport, the factory is expected to build a valid clothing asset (or nullptr if it cannot). | ClothingAssetFactoryInterface.h | |
virtual UClothingAssetBase * CreateFromExistingCloth
(
USkeletalMesh* TargetMesh, |
Given a target mesh and a source clothing asset bound to source mesh, clone the clothing asset for use on the target mesh | ClothingAssetFactoryInterface.h | |
virtual UClothingAssetBase * CreateFromSkeletalMesh
(
USkeletalMesh* TargetMesh, |
Given a target mesh and parameters describing the build operation, create a clothing asset for use on the mesh | ClothingAssetFactoryInterface.h | |
virtual UClothingAssetBase * Import
(
const FString& Filename, |
Import an asset from the specified file | ClothingAssetFactoryInterface.h | |
virtual UClothingAssetBase * ImportLodToClothing
(
USkeletalMesh* TargetMesh, |
Given a target mesh and valid parameters, import a simulation mesh as a LOD for the clothing specified by the build parameters, returning the modified clothing object | ClothingAssetFactoryInterface.h | |
virtual UClothingAssetBase * Reimport
(
const FString& Filename, |
Reimport an asset from the specified file | ClothingAssetFactoryInterface.h |