Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MachineLearnedBehaviorWriter
Description
The region 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 | setMeshRegionName |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/MachineLearnedBehaviorWriter.h |
| Include Path | #include "dna/layers/MachineLearnedBehaviorWriter.h" |
void setMeshRegionName
(
std::uint16_t meshIndex,
std::uint16_t regionIndex,
const char * name
)
Parameters
| Name | Remarks |
|---|---|
| meshIndex | A mesh's position in the zero-indexed array of meshes. |
| regionIndex | A name's position in the zero-indexed array of region names. |
| name | A null-terminated string. |