Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Base class for factories of tool targets, which let a tool manager build targets out of inputs without knowing anything about the inputs itself, as long as it has a factory registered that is able to process the input.
| Name | UToolTargetFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ToolTargets/ToolTarget.h |
| Include Path | #include "ToolTargets/ToolTarget.h" |
Syntax
UCLASS (Transient, Abstract, MinimalAPI)
class UToolTargetFactory : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UToolTargetFactory
Derived Classes
UToolTargetFactory derived class hierarchy
- UDataflowComponentReadOnlyToolTargetFactory
- UDataflowComponentToolTargetFactory
- UDataflowReadOnlyToolTargetFactory
- UDataflowToolTargetFactory
- UDynamicMeshComponentToolTargetFactory
- UPrimitiveComponentToolTargetFactory
- USceneComponentToolTargetFactory
- USkeletalMeshComponentReadOnlyToolTargetFactory
- USkeletalMeshComponentToolTargetFactory
- USkeletalMeshReadOnlyToolTargetFactory
- USkeletalMeshToolTargetFactory
- UStaticMeshComponentToolTargetFactory
- UStaticMeshToolTargetFactory
- UVolumeComponentToolTargetFactory
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UToolTarget * BuildFirstTarget
(
const TArray< UObject* >& InputObjects, |
Called by BuildFirstSelectedTargetable, intended to create just one target out of the given input. | ToolTargets/ToolTarget.h | |
virtual UToolTarget * BuildTarget
(
UObject* SourceObject, |
ToolTargets/ToolTarget.h | ||
virtual TArray< UToolTarget * > BuildTargets
(
const TArray< UObject* >& InputObjects, |
Called to build one or more targets out of the given array of input objects, if multiple are provided. | ToolTargets/ToolTarget.h | |
virtual bool CanBuildTarget
(
UObject* SourceObject, |
ToolTargets/ToolTarget.h | ||
virtual int32 CanBuildTargets
(
const TArray< UObject* >& InputObjects, |
The following methods are used when building from multiple input objects. | ToolTargets/ToolTarget.h |