FPoly::CalcNormal

Compute normal of an [FPoly](API\Runtime\Engine\Engine\FPoly).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Polys.h

Include

#include "Engine/Polys.h"

Source

/Engine/Source/Runtime/Engine/Private/Polygon.cpp

Syntax

int32 CalcNormal
(
    bool bSilent
)

Remarks

Compute normal of an FPoly. Works even if FPoly has 180-degree-angled sides (which are often created during T-joint elimination). Returns nonzero result (plus sets normal vector to zero) if a problem occurs.

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