Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
| Include | #include "ToolContextInterfaces.h" |
Syntax
class IToolsContextQueriesAPI
Remarks
Users of the Tools Framework need to implement IToolsContextQueriesAPI to provide access to scene state information like the current UWorld, active USelections, etc.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| EToolContextCoordinateSystem | Request current external coordinate-system setting. Defaults to World coordinates. | ||
| UWorld * | |||
| void | GetCurrentSelectionState
(
FToolBuilderState& StateOut |
Collect up current-selection information for the current scene state (ie what is selected in Editor, etc) | |
| FToolContextSnappingConfiguration | Request current external snapping settings. Defaults to no snapping. | ||
| EToolContextTransformGizmoMode | Request current external Gizmo Mode setting. | ||
| void | GetCurrentViewState
(
FViewCameraState& StateOut |
Request information about current view state | |
| FViewport * | |||
| FViewport * | |||
| UMaterialInterface * | GetStandardMaterial
(
EStandardToolContextMaterials MaterialType |
Many tools need standard types of materials that the user should provide (eg a vertex-color material, etc) |