FProfileSweepGenerator::AdjustNormalsForTriangle

Utility function for calculating the contribution of triangle normals to average normals.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/SweepGenerator.h

Include

#include "Generators/SweepGenerator.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Private/Generators/SweepGenerator.cpp

Syntax

void AdjustNormalsForTriangle
(
    int32 TriIndex,
    int32 FirstIndex,
    int32 SecondIndex,
    int32 ThirdIndex,
    TArray< FVector3d > & WeightedNormals,
    const FVector3d & AbNormalized
)

Remarks

Utility function for calculating the contribution of triangle normals to average normals. AbNormalized (ie, the normalized vector from the first vertex to the second) is taken as a parameter so that it can be reused in dealing with a planar quad.

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