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