Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerComponent
Description
Find the skeletal mesh component to apply the deformer on. This will return the skeletal mesh component (on this actor) which uses the same skeletal mesh as the passed in ML Deformer asset was trained on. If there is no such skeletal mesh component then it will return a nullptr.
| Name | FindSkeletalMeshComponent |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerComponent.h |
| Include Path | #include "MLDeformerComponent.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerComponent.cpp |
UFUNCTION (BlueprintCallable, Category="MLDeformer")
USkeletalMeshComponent * FindSkeletalMeshComponent
(
const UMLDeformerAsset *const Asset
) const
The skeletal mesh component that would be the best.
Parameters
| Name | Remarks |
|---|---|
| Asset | The ML Deformer asset to search a component for. |