Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MachineLearnedBehaviorWriter
Description
The index denotes the position of an entire neural network index list, not the position of its individual elements, i.e. the row index in a 2D matrix of neural network indices.
The neural network index storage will be implicitly resized (if needed) to provide storage for the number of neural network indices that is inferred from the specified index.
These indices can be used to access neural networks through the below defined APIs.
| Name | setNeuralNetworkIndices |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorWriter.h |
| Include Path | #include "dna/layers/MachineLearnedBehaviorWriter.h" |
void setNeuralNetworkIndices
(
std::uint16_t index,
const std::uint16_t * netIndices,
std::uint16_t count
)
Parameters
| Name | Remarks |
|---|---|
| index | A position in a zero-indexed array where neural network indices are stored. |
| netIndices | The source address from which the neural network indices are to be copied. |
| count | The number of neural network indices to copy. |