GeometryReader::getVertexPosition

MeshIndex must be less than the value returned by getMeshCount.

Windows
MacOS
Linux

Warnings

  • meshIndex must be less than the value returned by getMeshCount.

  • vertexIndex must be less than the value returned by getVertexPositionCount. @note The vertices are sorted by the vertex ID.

References

Module

RigLogicLib

Header

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryReader.h

Include

#include "dna/layers/GeometryReader.h"

Syntax

Position getVertexPosition
(
    std::uint16_t meshIndex,
    std::uint32_t vertexIndex
) const

Remarks

MeshIndex must be less than the value returned by getMeshCount.

vertexIndex must be less than the value returned by getVertexPositionCount. @note The vertices are sorted by the vertex ID.

Returns

The vertex position.

Parameters

Parameter

Description

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss