Navigation
API > API/Plugins > API/Plugins/NeuralMorphModel > API/Plugins/NeuralMorphModel/UNeuralMorphModelInstance
- UMLDeformerModelInstance::Execute()
- UNeuralMorphModelInstance::Execute()
References
| Module | NeuralMorphModel |
| Header | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModel/Public/NeuralMorphModelInstance.h |
| Include | #include "NeuralMorphModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NeuralMorphModel/Source/NeuralMorphModel/Private/NeuralMorphModelInstance.cpp |
virtual void Execute
&40;
float ModelWeight
&41;
Remarks
Execute the model instance, which can run the neural network inference in case the model uses a neural network. This already assumes that compatibility checks are done, and that the network inputs are set etc.
Parameters
| Name | Description |
|---|---|
| ModelWeight | The weight of the model, must be between 0 and 1. |