Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel > API/Plugins/NearestNeighborModel/UNearestNeighborModelInstance
- UMLDeformerModelInstance::Execute()
- UNearestNeighborModelInstance::Execute()
References
| Module | NearestNeighborModel |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Public/NearestNeighborModelInstance.h |
| Include | #include "NearestNeighborModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Private/NearestNeighborModelInstance.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. |