Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerComponent
References
| Module | MLDeformerFramework |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerComponent.h |
| Include | #include "MLDeformerComponent.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerComponent.cpp |
USkeletalMeshComponent &42; FindSkeletalMeshComponent
&40;
const UMLDeformerAsset &42;const Asset
&41; const
Remarks
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. The skeletal mesh component that would be the best.
Parameters
| Name | Description |
|---|---|
| Asset | The ML Deformer asset to search a component for. |