Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/GeometryReader
Warnings meshIndex must be less than the value returned by getMeshCount. vertexIndex must be less than the value returned by getVertexPositionCount.
Description
MeshIndex must be less than the value returned by getMeshCount.
vertexIndex must be less than the value returned by getVertexPositionCount.
The vertices are sorted by the vertex ID.
| Name | getVertexPosition |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryReader.h |
| Include Path | #include "dna/layers/GeometryReader.h" |
Position getVertexPosition
(
std::uint16_t meshIndex,
std::uint32_t vertexIndex
) const
The vertex position.
Parameters
| Name | Remarks |
|---|---|
| meshIndex | A mesh's position in the zero-indexed array of meshes. |
| vertexIndex | The index of the vertex position in the zero-indexed array of vertex positions. |