TMeshTangents::GetPerTriangleTangent

Return tangent and bitangent at a vertex of triangle for per-triangle computed tangents

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/MeshTangents.h

Include

#include "MeshTangents.h"

Syntax

template<typename VectorType, typename OtherRealType>
void GetPerTriangleTangent
(
    int32 TriangleID,
    int32 TriVertIdx,
    VectorType & TangentOut,
    VectorType & BitangentOut
) const

Remarks

Return tangent and bitangent at a vertex of triangle for per-triangle computed tangents

Parameters

Parameter

Description

TriangleID

triangle index in mesh

TriVertIdx

vertex index in range 0,1,2

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