GeometryReader::getVertexLayout

Vertex layouts contain only attribute indices which can be used to query the actual attributes, such as positions, texture coordinates and normals, which are associated with the vertex. @note The indices from a layout are usable with the above defined APIs.

Windows
MacOS
Linux

Warnings

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

  • layoutIndex must be less than the value returned by getVertexLayoutCount.

References

Module

RigLogicLib

Header

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

Include

#include "dna/layers/GeometryReader.h"

Syntax

VertexLayout getVertexLayout
(
    std::uint16_t meshIndex,
    std::uint32_t layoutIndex
) const

Remarks

MeshIndex must be less than the value returned by getMeshCount.

layoutIndex must be less than the value returned by getVertexLayoutCount.

Parameters

Parameter

Description

meshIndex

A mesh's position in the zero-indexed array of meshes.

layoutIndex

The index of the layout in the zero-indexed array of vertex layouts.

See Also

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