Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Snapping configuration settings/state
| Name | FToolContextSnappingConfiguration |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
| Include Path | #include "ToolContextInterfaces.h" |
Syntax
struct FToolContextSnappingConfiguration
Structs
| Name | Remarks |
|---|---|
| FObjectTransformSnapping | Stores parameters applicable to actor/object transform snapping, corresponds with ESceneSnapQueryTargetType::ObjectTransform |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableAbsoluteWorldSnapping | bool | Specify whether Position snapping in World Coordinate System should be Absolute or Relative | ToolContextInterfaces.h | |
| bEnablePositionGridSnapping | bool | Specify whether position snapping should be applied | ToolContextInterfaces.h | |
| bEnableRotationGridSnapping | bool | Specify whether rotation snapping should be applied | ToolContextInterfaces.h | |
| bEnableScaleGridSnapping | bool | Specify whether scale snapping should be applied | ToolContextInterfaces.h | |
| bIsSnappingActive | bool | Whether to perform any kind of snapping | ToolContextInterfaces.h | |
| ObjectTransform | FToolContextSnappingConfiguration::FObjectTransformSnapping | ToolContextInterfaces.h | ||
| PositionGridDimensions | FVector | Specify position grid spacing or cell dimensions | ToolContextInterfaces.h | |
| RotationGridAngles | FRotator | Specify rotation snapping step size | ToolContextInterfaces.h | |
| ScaleGridSize | float | Specify scale factor | ToolContextInterfaces.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsObjectTransformSnappingActive() |
ToolContextInterfaces.h | ||
bool IsPositionGridSnappingActive() |
ToolContextInterfaces.h | ||
bool IsRotationGridSnappingActive() |
ToolContextInterfaces.h | ||
bool IsScaleGridSnappingActive() |
ToolContextInterfaces.h |