Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/DefinitionWriter
Description
The index denotes the position of an entire mesh index list, not the position of it's individual elements, i.e. the row index in a 2D matrix of mesh indices.
The mesh index storage will be implicitly resized (if needed) to provide storage for the number of mesh name indices that is inferred from the specified index.
These indices can be used to access mesh names through DefinitionReader::getMeshName.
| Name | setMeshIndices |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/DefinitionWriter.h |
| Include Path | #include "dna/layers/DefinitionWriter.h" |
void setMeshIndices
(
std::uint16_t index,
const std::uint16_t * meshIndices,
std::uint16_t count
)
Parameters
| Name | Remarks |
|---|---|
| index | A position in a zero-indexed array where mesh name indices are stored. |
| meshIndices | The source address from which the mesh name indices are to be copied. |
| count | The number of mesh name indices to copy. |