Navigation
API > API/Editor > API/Editor/LevelEditor > API/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
&40;
bool InAlign,
bool InUseLineTrace,
bool InUseBounds,
bool InUsePivot
&41;
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. |