Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerModelInstance
Description
Check whether the deformer is compatible with a given skeletal mesh component. This internally also edits the value returned by GetCompatibilityErrorText().
| Name | CheckCompatibility |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModelInstance.h |
| Include Path | #include "MLDeformerModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerModelInstance.cpp |
virtual FString CheckCompatibility
(
USkeletalMeshComponent * InSkelMeshComponent,
bool bLogIssues
)
Returns the error string. When the returned string is empty, there were no errors and thus the specified skeletal mesh component is compatible.
Parameters
| Name | Remarks |
|---|---|
| InSkelMeshComponent | The skeletal mesh component to check compatibility with. |
| bLogIssues | Set to true to automatically log any compatibility errors. |