FInteractiveToolStack::AddToolToStack

Helper method to add tools to stacks

Unreal Engine C++ API Reference > Editor > EditorInteractiveToolsFramework > FInteractiveToolStack

References

   
Module EditorInteractiveToolsFramework
Header /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/InteractiveToolStack.h
Include #include "InteractiveToolStack.h"
Source /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/InteractiveToolStack.cpp
static void AddToolToStack
(
    [UEdMode](API\Editor\UnrealEd\Tools\UEdMode) * EdMode,
    [UEditorInteractiveToolsContext](API\Editor\EditorInteractiveToolsFramework\UEditorInteractiveToolsContext) * UseToolsContext,
    [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [FUICommandInfo](API\Runtime\Slate\Framework\Commands\FUICommandInfo) > UICommand,
    [FString](API\Runtime\Core\Containers\FString) ToolStackIdentifier,
    [FString](API\Runtime\Core\Containers\FString) ToolIdentifier,
    [UInteractiveToolBuilder](API\Runtime\InteractiveToolsFramework\UInteractiveToolBuilder) * Builder
)

Remarks

Helper method to add tools to stacks

Parameters

Name Description
EdMode EdMode registering tool to this tool stack
UseToolsContext Tool context for this stack
UICommand Command to map tool start / stop actions to
ToolStackIdentifier Unique string identifier for the tool stack
ToolIdentifier Unique string identifier for the tool, used to check if tool is active
Builder Builder for tool to be used by actions

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library