Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerModelInstance
Description
Update the deformer instance. If you use a neural network, this should provide inputs to the neural network.
| Name | Tick |
| Type | function |
| Header File | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModelInstance.h |
| Include Path | #include "MLDeformerModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerModelInstance.cpp |
virtual void Tick
(
float DeltaTime,
float ModelWeight
)
Parameters
| Name | Remarks |
|---|---|
| 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. |