Navigation
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 SnapTo_Clicked
(
const UTypedElementSelectionSet * InSelectionSet,
const bool InAlign,
const bool InUseLineTrace,
const bool InUseBounds,
const bool InUsePivot,
const TTypedElement< ITypedElementWorldInterface > & InDestination
)
Remarks
Snaps the selected elements. 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. |
InDestination | The destination element we want to move this actor to, or invalid to go towards the floor |