Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel > API/Plugins/NearestNeighborModel/UNearestNeighborModelInstance
- UMLDeformerModelInstance::Tick()
- UMLDeformerMorphModelInstance::Tick()
- UNearestNeighborModelInstance::Tick()
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 Tick
&40;
float DeltaTime,
float ModelWeight
&41;
Remarks
Update the deformer instance. If you use a neural network, this should provide inputs to the neural network.
Parameters
| Name | Description |
|---|---|
| DeltaTime | The delta time since the last frame, in seconds. |
| ModelWeight | The weight of the model, between 0 and 1, where 0 means it has no influence, and 1 means it is fully active. |