Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MachineLearnedBehaviorExtReader
Warnings The index must be less than the value returned by getMLTypeCount. The index must be less than the value returned by getMLOperationSetCount. * The index must be less than the value returned by getMLOperationCount.
Description
This list needs to be paired with the list returned by getMLOperationDependencyOperationSetIndices, where each operation set index and operation index under the same index form a single pair, specifying the (operation-set, operation) index pair that points to a dependency of the current operation.
As operation sets are evaluated in lock-step, each subsequent operation set will be able to access the results of previous operation sets, and these indices might reference operations whose results are needed as input for the current operation.
The index must be less than the value returned by getMLTypeCount.
The index must be less than the value returned by getMLOperationSetCount.
The index must be less than the value returned by getMLOperationCount.
| Name | getMLOperationDependencyOperationIndices |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorExtReader.h |
| Include Path | #include "dna/layers/MachineLearnedBehaviorExtReader.h" |
ConstArrayView< std::uint16_t > getMLOperationDependencyOperationIndices
(
std::uint16_t mlTypeIndex,
std::uint16_t mlOperationSetIndex,
std::uint16_t mlOperationIndex
) const
View over operation indices
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. |
| mlOperationIndex | The operation position in the zero-indexed array of operations within the selected set. |