Navigation
API > API/Plugins > API/Plugins/MLDeformerFrameworkEditor > API/Plugins/MLDeformerFrameworkEditor/FMLDeformerEditorModel
Description
Clamp the current test frame index to be in a valid range. A valid range would be between 0 and the number of frames in the test data (anim sequence / ground truth). So if the test data contains 100 frames, so index 0..99, and we set the TestingFrameNumber member to 500, this method will turn that into 99.
| Name | ClampCurrentTestFrameIndex |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Public/MLDeformerEditorModel.h |
| Include Path | #include "MLDeformerEditorModel.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFrameworkEditor/Private/MLDeformerEditorModel.cpp |
virtual void ClampCurrentTestFrameIndex()