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