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