FLevelEditorActionCallbacks::SnapActorToActor_Clicked

Snaps an actor to another actor. Optionally will align with the trace normal.

Windows
MacOS
Linux

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/LevelEditorActions.h

Include

#include "LevelEditorActions.h"

Source

/Engine/Source/Editor/LevelEditor/Private/LevelEditorActions.cpp

Syntax

static void SnapActorToActor_Clicked
(
    bool InAlign,
    bool InUseLineTrace,
    bool InUseBounds,
    bool InUsePivot
)

Remarks

Snaps an actor to another actor. Optionally will align with the trace normal.

Parameters

Parameter

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.

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