UModeManagerInteractiveToolsContext::CreateNewChildEdModeToolsContext

Create and initialize a new EdMode-level ToolsContext derived from the ModeManager ToolsContext.

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

References

   
Module EditorInteractiveToolsFramework
Header /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EdModeInteractiveToolsContext.h
Include #include "EdModeInteractiveToolsContext.h"
Source /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Private/EdModeInteractiveToolsContext.cpp
[UEdModeInteractiveToolsContext](API\Editor\EditorInteractiveToolsFramework\UEdModeInteractiveToolsContext) * CreateNewChildEdModeToolsContext()  

Remarks

Create and initialize a new EdMode-level ToolsContext derived from the ModeManager ToolsContext. The EdMode ToolsContext does not have it's own InputRouter, it shares the InputRouter with the ModeManager ToolsContext. The ModeManager ToolsContext keeps track of these derived ToolsContext's and automatically Tick()'s them/etc. When the child ToolsContext is shut down, OnChildEdModeToolsContextShutdown() must be called to clean up new ToolsContext


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library