Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MachineLearnedBehaviorWriter
Description
The storage will be implicitly resized (if needed) to provide storage for the new data to be stored.
These indices can be used to access neural networks through the below defined APIs.
| Name | setNeuralNetworkIndicesForMeshRegion |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorWriter.h |
| Include Path | #include "dna/layers/MachineLearnedBehaviorWriter.h" |
void setNeuralNetworkIndicesForMeshRegion
(
std::uint16_t meshIndex,
std::uint16_t regionIndex,
const std::uint16_t * netIndices,
std::uint16_t count
)
Parameters
| Name | Remarks |
|---|---|
| meshIndex | A mesh's position in the zero-indexed array of meshes. |
| regionIndex | A region's position in the zero-indexed array of regions. |
| netIndices | The source address from which the neural network indices are to be copied. |
| count | The number of neural network indices to copy. |