Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MachineLearnedBehaviorWriter
Description
The control name storage will be implicitly resized (if needed) to provide storage for the number of names that is inferred from the specified index.
The passed in name is copied, which will involve an additional allocation.
| Name | setMLControlName |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorWriter.h |
| Include Path | #include "dna/layers/MachineLearnedBehaviorWriter.h" |
void setMLControlName
(
std::uint16_t index,
const char * name
)
Parameters
| Name | Remarks |
|---|---|
| index | A name's position in the zero-indexed array of ML control names. |
| name | A null-terminated string. |