Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/GeometryWriter
Description
The mesh storage will be implicitly resized (if needed) to provide storage for the number of meshes that is inferred from the specified index.
| Name | setVertexPositions |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryWriter.h |
| Include Path | #include "dna/layers/GeometryWriter.h" |
void setVertexPositions
(
std::uint16_t meshIndex,
const Position * positions,
std::uint32_t count
)
Parameters
| Name | Remarks |
|---|---|
| meshIndex | A mesh's position in the zero-indexed array of meshes. |
| positions | The source address from which the vertex positions are to be copied. |
| count | The number of vertex positions to copy. |