Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/UMLDeformerTrainingModel
References
| Module | MLDeformerFrameworkEditor |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerTrainingModel.h |
| Include | #include "MLDeformerTrainingModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerTrainingModel.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Training Data"&41;
bool SetCurrentSampleIndex
&40;
int32 Index
&41;
Remarks
Set the current sample frame. This will internally call the SampleFrame method, which will update the deltas, curve values and bone rotations. You call this before getting the input bone/curve and vertex delta values. Returns true when successful, or false when the specified sample index is out of range.
Parameters
| Name | Description |
|---|---|
| Index | The training data frame/sample number. |