Navigation
API > API/Plugins > API/Plugins/MLDeformerFramework > API/Plugins/MLDeformerFramework/UMLDeformerModelInstance
References
| Module | MLDeformerFramework |
| Header | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Public/MLDeformerModelInstance.h |
| Include | #include "MLDeformerModelInstance.h" |
| Source | /Engine/Plugins/Animation/MLDeformer/MLDeformerFramework/Source/MLDeformerFramework/Private/MLDeformerModelInstance.cpp |
virtual int64 SetNeuralNetworkInputValues
&40;
float &42; InputData,
int64 NumInputFloats
&41;
Remarks
Update the neural network input values directly inside its input tensor. This will copy over the bone transforms (and possibly morph and curve weights) into this flat array. Returns the new buffer element index. For example if there were 2 bones and 3 curves, and each bone takes 6 inputs and each curve takes one input, then after calling this base class method, it will return 15 (2*6 + 3*1). You could call this base class method and then write data after that, starting from the offset that is returned.
Parameters
| Name | Description |
|---|---|
| InputData | The buffer of floats to write the input values to. |
| NumInputFloats | The number of floats of the InputData buffer. Do not write more than this number of floats to the InputData buffer. |