FQuickAxisTranslater::UpdateSnap

Try to find the best snap point for the given Ray, and store in SnapPointOut if found

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Transforms/QuickAxisTranslater.h

Include

#include "Transforms/QuickAxisTranslater.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Transforms/QuickAxisTranslater.cpp

Syntax

virtual bool UpdateSnap
(
    const FRay3d & Ray,
    FVector3d & SnapPointOut,
    TFunction< FVector3d &)> PositionConstraintFunc
)

Remarks

Try to find the best snap point for the given Ray, and store in SnapPointOut if found

Returns

true if found

Parameters

Parameter

Description

Ray

3D ray in space of snap points

SnapPointOut

found snap point

PositionConstraintFunc

Function that projects potential snap points onto constraint surfaces (eg grid points)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss