Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerEditorModel
Description
This is executed when the training process got aborted by the user. You can use this method to restore any values you had to back up during OnPreTraining for example.
| Name | OnTrainingAborted |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerEditorModel.h |
| Include Path | #include "MLDeformerEditorModel.h" |
virtual void OnTrainingAborted
(
bool bUsePartiallyTrainedData
)
Parameters
| Name | Remarks |
|---|---|
| bUsePartiallyTrainedData | When the user aborts training, they can get offered to use the partially trained neural network. This boolean specifies whether they picked "Yes" (true) or "No" (false) to that question. |