Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > FPoly
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 |
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.