Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
FToolBuilderState is a bucket of state information that a ToolBuilder might need to construct a Tool. This information comes from a level above the Tools framework, and depends on the context we are in (Editor vs Runtime, for example).
| Name | FToolBuilderState |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolContextInterfaces.h |
| Include Path | #include "ToolContextInterfaces.h" |
Syntax
struct FToolBuilderState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS FToolBuilderState () |
ToolContextInterfaces.h | ||
| ToolContextInterfaces.h | |||
FToolBuilderState
(
const FToolBuilderState& |
ToolContextInterfaces.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GizmoManager | UInteractiveGizmoManager * | The current GizmoManager | ToolContextInterfaces.h | |
| SelectedActors | TArray< AActor * > | Current selected Actors. May be empty or nullptr. | ToolContextInterfaces.h | |
| SelectedComponents | TArray< UActorComponent * > | Current selected Components. May be empty or nullptr. | ToolContextInterfaces.h | |
| TargetManager | UToolTargetManager * | The current TargetManager | ToolContextInterfaces.h | |
| ToolManager | UInteractiveToolManager * | The current ToolManager | ToolContextInterfaces.h | |
| TypedElementSelectionSet | TWeakObjectPtr< UTypedElementSelectionSet > | ToolContextInterfaces.h | ||
| World | UWorld * | The current UWorld | ToolContextInterfaces.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ToolContextInterfaces.h | |||
FToolBuilderState & operator=
(
const FToolBuilderState& |
ToolContextInterfaces.h |