Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel > API/Plugins/NearestNeighborModel/UNearestNeighborModelInstance
- UMLDeformerModelInstance::CheckCompatibility()
- UNearestNeighborModelInstance::CheckCompatibility()
References
| Module | NearestNeighborModel |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Public/NearestNeighborModelInstance.h |
| Include | #include "NearestNeighborModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Private/NearestNeighborModelInstance.cpp |
virtual FString CheckCompatibility
&40;
USkeletalMeshComponent &42; InSkelMeshComponent,
bool bLogIssues
&41;
Remarks
Check whether the deformer is compatible with a given skeletal mesh component. This internally also edits the value returned by GetCompatibilityErrorText(). 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 | Description |
|---|---|
| InSkelMeshComponent | The skeletal mesh component to check compatibility with. |
| bLogIssues | Set to true to automatically log any compatibility errors. |