Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UToolTargetManager
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UToolTarget * BuildTarget
(
UObject* SourceObject, |
Uses one of the stored factories to build a tool target out of the given input object that satisfies the given requirements. | ToolTargetManager.h | |
CastToType * BuildTarget
(
UObject* SourceObject, |
Much like BuildTarget, but casts the target to the template argument before returning. | ToolTargetManager.h |
BuildTarget(UObject *, const FToolTargetTypeRequirements &)
Description
Uses one of the stored factories to build a tool target out of the given input object that satisfies the given requirements. If multiple factories are capable of building a qualifying target, the first encountered one will be used. If none are capable, a nullptr is returned.
| Name | BuildTarget |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolTargetManager.h |
| Include Path | #include "ToolTargetManager.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/ToolTargetManager.cpp |
virtual UToolTarget * BuildTarget
(
UObject * SourceObject,
const FToolTargetTypeRequirements & TargetRequirements
)
Tool target that staisfies given requirements, or nullptr if none could be created.
BuildTarget(UObject *, const FToolTargetTypeRequirements &)
Description
Much like BuildTarget, but casts the target to the template argument before returning.
| Name | BuildTarget |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolTargetManager.h |
| Include Path | #include "ToolTargetManager.h" |
template<typename CastToType>
CastToType * BuildTarget
(
UObject * SourceObject,
const FToolTargetTypeRequirements & TargetType
)