/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/DragAlignmentMechanic.h
FDragAlignmentBaseis a base class for shared functionality ofUDragAlignmentMechanicandUDragAlignmentInteraction. This interaction can be attached to (potentially multiple)UCombinedTransformGizmoobject to allow them to snap to scene geometry in rotation and translation when a modifier key is pressed.
class FDragAlignmentBase
bool
bPreviewEndpointsValid
We keep track of the last position we gave the user and the last position that they moved their gizmo.
bool
bWaitingOnProjectedResult
FViewCameraStat...
CachedCameraState
Used for snapping to verts.
FHitResult
LastHitResult
FVector3d
LastProjectedResult
TUniqueFunction...
MeshRayCast
TUniqueFunction...
MeshRayCastTriangleFilter
float
VisualAngleSnapThreshold
TUniqueFunction...
WorldRayCast
These are modifiable in case we someday want to make it easier to customize them further.