Navigation
API > API/Runtime > API/Runtime/GeometryCore
Description
Apply inverse of given Transform to a Mesh. Modifies Vertex Positions and Normals, and any Per-Triangle Normal Overlays
| Name | MeshTransforms::ApplyTransformInverse |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/MeshTransforms.h |
| Include Path | #include "DynamicMesh/MeshTransforms.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/DynamicMesh/MeshTransforms.cpp |
namespace MeshTransforms
{
void MeshTransforms::ApplyTransformInverse
(
FDynamicMesh3 & Mesh,
const FTransformSRT3d & Transform,
bool bReverseOrientationIfNeeded,
ETransformAttributes TransformAttributes
)
}
Parameters
| Name | Remarks |
|---|---|
| bReverseOrientationIfNeeded | If the Transform inverts the mesh with negative scale, also invert the triangle orientations |
| TransformAttributes | Bitflag enum specifying which attributes to transform |