FLevelEditorActionCallbacks::SnapElementsToElement_Clicked

Snaps the selected elements to another element. Optionally will align with the trace normal.

Unreal Engine C++ API Reference > Editor > LevelEditor > FLevelEditorActionCallbacks

References

   
Module LevelEditor
Header /Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h
Include #include "LevelEditorActions.h"
Source /Engine/Source/Editor/LevelEditor/Private/LevelEditorActions.cpp
static void SnapElementsToElement_Clicked
(
    bool InAlign,
    bool InUseLineTrace,
    bool InUseBounds,
    bool InUsePivot
)

Remarks

Snaps the selected elements to another element. Optionally will align with the trace normal.

Parameters

Name Description
InAlign Whether or not to rotate the actor to align with the trace normal.
InUseLineTrace Whether or not to only trace with a line through the world.
InUseBounds Whether or not to base the line trace off of the bounds.
InUsePivot Whether or not to use the pivot position.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library