UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MeshTransforms.h File Reference
#include "DynamicMesh/DynamicMesh3.h"
#include "FrameTypes.h"
#include "GeometryBase.h"
#include "Math/MathFwd.h"
#include "TransformTypes.h"

Go to the source code of this file.

Namespaces

namespace  UE
 
namespace  UE::Geometry
 
namespace  MeshTransforms
 

Enumerations

enum class  MeshTransforms::ETransformAttributes {
  MeshTransforms::Positions = 1 << 0 , MeshTransforms::VertexNormals = 1 << 1 , MeshTransforms::Normals = 1 << 2 , MeshTransforms::Tangents = 1 << 3 ,
  MeshTransforms::SculptLayers = 1 << 4 , MeshTransforms::All = Positions | VertexNormals | Normals | Tangents | SculptLayers
}
 

Functions

 MeshTransforms::ENUM_CLASS_FLAGS (ETransformAttributes)
 
GEOMETRYCORE_API void MeshTransforms::Translate (FDynamicMesh3 &Mesh, const FVector3d &Translation, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::Scale (FDynamicMesh3 &Mesh, const FVector3d &Scale, const FVector3d &Origin, bool bReverseOrientationIfNeeded=false, bool bOnlyPositions=false)
 
GEOMETRYCORE_API void MeshTransforms::Scale (FDynamicMesh3 &Mesh, const FVector3d &Scale, const FVector3d &Origin, bool bReverseOrientationIfNeeded, ETransformAttributes TransformAttributes)
 
GEOMETRYCORE_API void MeshTransforms::Rotate (FDynamicMesh3 &Mesh, const FRotator &Rotation, const FVector3d &RotationOrigin, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::WorldToFrameCoords (FDynamicMesh3 &Mesh, const FFrame3d &Frame, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::FrameCoordsToWorld (FDynamicMesh3 &Mesh, const FFrame3d &Frame, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::ApplyTransform (FDynamicMesh3 &Mesh, const FTransformSRT3d &Transform, bool bReverseOrientationIfNeeded=false, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::ApplyTransformInverse (FDynamicMesh3 &Mesh, const FTransformSRT3d &Transform, bool bReverseOrientationIfNeeded=false, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::ApplyTransform (FDynamicMesh3 &Mesh, TFunctionRef< FVector3d(const FVector3d &)> PositionTransform, TFunctionRef< FVector3f(const FVector3f &)> NormalTransform)
 
GEOMETRYCORE_API void MeshTransforms::ApplyTransform (FDynamicMesh3 &Mesh, TFunctionRef< FVector3d(const FVector3d &)> PositionTransform, TFunctionRef< FVector3f(const FVector3f &)> NormalTransform, TFunctionRef< FVector3f(const FVector3f &)> TangentTransform, ETransformAttributes TransformAttributes=ETransformAttributes::All)
 
GEOMETRYCORE_API void MeshTransforms::ReverseOrientationIfNeeded (FDynamicMesh3 &Mesh, const FTransformSRT3d &Transform)