Module |
|
Header |
/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h |
Include |
#include "PlanarCut.h" |
Source |
/Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp |
void RecomputeNormalsAndTangents
(
bool bOnlyTangents,
FGeometryCollection & Collection,
const TArrayView< const int32 > & TransformIndices,
bool bOnlyOddMaterials,
const TArrayView< const int32 > & WhichMaterials
)
Recompute normals and tangents of selected geometry, optionally restricted to faces with odd or given material IDs (i.e. to target internal faces)
Parameter |
Description |
---|---|
bOnlyTangents |
If true, leave normals unchanged and only recompute tangent&bitangent vectors |
Collection |
The Geometry Collection to be updated |
TransformIndices |
Which transform groups on the Geometry Collection to be updated. If empty, all groups are updated. |
bOnlyOddMaterials |
If true, restrict recomputation to odd-numbered material IDs |
WhichMaterials |
If non-empty, restrict recomputation to only the listed material IDs |