Snapping

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public class

FBasePositionSnapSolver3

FBasePositionSnapSolver3 is a base class for 3D position snapping implementations.

Public class

FPointPlanarSnapSolver

FPointPlanarSnapSolver solves for a Point snap location on a plane, based on an input Point and a set of target points and lines in the plane.

Public class

FRaySpatialSnapSolver

FRaySpatialSnapSolver solves for a Point snap location based on an input Ray and a set of snap targets (3D points and 3D lines).

Public class UClass

UModelingSceneSnappingManager

UModelingSceneSnappingManager is an implementation of snapping suitable for use in Modeling Tools/Gizmos (and potentially other places).

Functions

Name Description

Public function

bool

 

UE::Geometry::DeregisterSceneSnappingManager

(
    UInteractiveToolsContext* Tool...
)

Remove any existing UModelingSceneSnappingManager from the ToolsContext's ContextObjectStore

Public function

UModelingSce...

 

UE::Geometry::FindModelingSceneSnappingManager

(
    UInteractiveToolManager* ToolM...
)

Find an existing UModelingSceneSnappingManager in the ToolsContext's ContextObjectStore

Public function

bool

 

UE::Geometry::RegisterSceneSnappingManager

(
    UInteractiveToolsContext* Tool...
)

The functions below are helper functions that simplify usage of a UModelingSceneSnappingManager that is registered as a ContextStoreObject in an InteractiveToolsContext If one does not already exist, create a new instance of UModelingSceneSnappingManager and add it to the ToolsContext's ContextObjectStore