Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/DragAlignmentMechanic.h |
Include |
#include "Mechanics/DragAlignmentMechanic.h" |
Source |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/DragAlignmentMechanic.cpp |
void InitializeDeformedMeshRayCast
(
TFunction< UE::Geometry::FDynamicMeshAABBTree3 *()> GetSpatialIn,
const UE::Geometry::FTransform3d & TargetTransform,
const FGroupTopologyDeformer * LinearDeformer
)
Optional- allows the use of the mechanic in mesh deformation. Specifically, alignment will attempt to align to the dynamic mesh underlying the given FDynamicMeshAABBTree3, and ignore deformed triangles when the gizmo is moved. This works with only one deformed mesh, so it probably wouldn't be used with multiple gizmos.