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