![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "UObject/Object.h"#include "Misc/Optional.h"#include "Math/Vector.h"#include "Math/Ray.h"#include "Engine/HitResult.h"#include "ToolContextInterfaces.h"#include "SceneSnappingManager.generated.h"Go to the source code of this file.
Classes | |
| struct | FSceneQueryVisibilityFilter |
| struct | FSceneHitQueryRequest |
| struct | FSceneHitQueryResult |
| struct | FSceneSnapQueryRequest |
| struct | FSceneSnapQueryResult |
| class | USceneSnappingManager |
Enumerations | |
| enum class | ESceneSnapQueryType : uint8 { Position = 1 , Rotation = 2 , RotationAngle = 3 , Scale = 4 , Transform = 5 } |
| enum class | ESceneSnapQueryTargetType : uint8 { None = 0 , MeshVertex = 1 , MeshEdge = 2 , Grid = 4 , ObjectTransform = 8 , Custom = 16 , All = MeshVertex | MeshEdge | Grid | ObjectTransform | Custom } |
| enum class | ESceneSnapQueryTargetResult : uint8 { NotSnapped , Snapped , Disabled , Unsupported } |
Functions | |
| ENUM_CLASS_FLAGS (ESceneSnapQueryTargetType) | |
|
strong |
Describes the result of the attempted snap operation. Note that this differs to FSceneSnapQueryResult in that it only indicates the success or failure of the snap, not the resulting data.
|
strong |
Types of Snap Targets that a caller may want to run snap queries against.
| Enumerator | |
|---|---|
| None | |
| MeshVertex | Consider any mesh vertex |
| MeshEdge | Consider any mesh edge |
| Grid | Grid Snapping |
| ObjectTransform | Any object with a transform representation |
| Custom | As defined by an FName |
| All | |
|
strong |
Types of Snap Queries that a USceneSnappingManager may support
| ENUM_CLASS_FLAGS | ( | ESceneSnapQueryTargetType | ) |