Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UInteractiveToolsContext
Description
Replace the internal functions that are called to create/destroy the sub-objects owned by the ITC. By doing this, clients of the ITF can provide their own subclass implementations, or do other custom setup/teardown as necessary. See comments above CreateInputRouterFunc below
| Name | SetCreateInputRouterFunc |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/InteractiveToolsContext.h |
| Include Path | #include "InteractiveToolsContext.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/InteractiveToolsContext.cpp |
virtual void SetCreateInputRouterFunc
(
TUniqueFunction < UInputRouter * &)> Func
)