Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerModelInstance
Description
Setup the neural network for this frame. This has to perform compatibility checks, valid pointer checks, and call the SetNeuralNetworkInputValues. After this method is executed, the neural network should be ready to execute. The UMLDeformerModelInstance::Tick method internally calls both the SetupNeuralNetworkForFrame and RunNeuralNetwork methods.
| Name | SetupInputs |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModelInstance.h |
| Include Path | #include "MLDeformerModelInstance.h" |
virtual bool SetupInputs()
Returns true when the setup is done correctly and the neural network is ready to be executed. Otherwise false is returned, which can happen when the NeuralNetwork pointer is invalid, when the model is not set, when the network is not compatible, etc.