Navigation
API > API/Editor > API/Editor/UnrealEd
Settings that control the behavior of the "snap to surface" feature
| Name | FSnapToSurfaceSettings |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Settings/LevelEditorViewportSettings.h |
| Include Path | #include "Settings/LevelEditorViewportSettings.h" |
Syntax
USTRUCT ()
struct FSnapToSurfaceSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSnapToSurfaceSettings() |
Settings/LevelEditorViewportSettings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnabled | bool | Whether snapping to surfaces in the world is enabled | Settings/LevelEditorViewportSettings.h |
|
| bSnapRotation | bool | Whether objects should match the rotation of the surfaces they snap to | Settings/LevelEditorViewportSettings.h |
|
| SnapOffsetExtent | float | The amount of offset to apply when snapping to surfaces | Settings/LevelEditorViewportSettings.h |
|