Navigation
API > API/Editor > API/Editor/ClothingSystemEditorInterface
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UClothingAssetFactoryBase
- UClothingAssetFactory
References
| Module | ClothingSystemEditorInterface |
| Header | /Engine/Source/Editor/ClothingSystemEditorInterface/Public/ClothingAssetFactoryInterface.h |
| Include | #include "ClothingAssetFactoryInterface.h" |
Syntax
class UClothingAssetFactoryBase : public UObject
Remarks
Clothing asset factories should inherit this interface/uobject to provide functionality to build clothing assets from .apx files imported to the engine
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Should return whether or not the factory can handle the incoming file (check validity etc.) | ||
| 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). | |
| 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 | |
| UClothingAssetBase * | CreateFromSkeletalMesh
(
USkeletalMesh* TargetMesh, |
Given a target mesh and parameters describing the build operation, create a clothing asset for use on the mesh | |
| UClothingAssetBase * | Import
(
const FString& Filename, |
Import an asset from the specified file | |
| 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 | |
| UClothingAssetBase * | Reimport
(
const FString& Filename, |
Reimport an asset from the specified file |