Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerInputInfo > API/Plugins/MLDeformerFramework/UMLDeformerInputInfo/ExtractCurveValues
References
| Module | MLDeformerFramework |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerInputInfo.h |
| Include | #include "MLDeformerInputInfo.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerInputInfo.cpp |
virtual void ExtractCurveValues
&40;
USkeletalMeshComponent &42; SkelMeshComponent,
TArray< float > & OutValues,
int32 NumFloatsPerCurve
&41; const
Remarks
Extract the curve values for all curves we're interested in.
Parameters
| Name | Description |
|---|---|
| SkelMeshComponent | The skeletal mesh component to sample from. |
| OutValues | The array to write the values to. This array will be reset/resized by this method. |
| NumFloatsPerCurve | The number of floats per curve. If larger than 1, the remaining floats (after the first one), will be set to 0. So if this is set to 4, you get an array like "0.75, 0, 0, 0", where 0.75 would represent the actual curve value. |