UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ToolTarget.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
7#include "CoreMinimal.h"
8#include "CoreTypes.h"
9#include "HAL/PlatformCrt.h"
11#include "UObject/Object.h"
14
15#include "ToolTarget.generated.h"
16
18class UClass;
19
38UCLASS(Transient, Abstract, MinimalAPI)
40{
42public:
43
45 virtual bool IsValid() const PURE_VIRTUAL(UToolTarget::IsValid, return false;);
46};
47
48
83
84
90UCLASS(Transient, Abstract, MinimalAPI)
92{
94
95public:
98
99
100 // The following methods are used when building from multiple input objects. If not overriden, they will
101 // call BuildTarget/CanBuildTarget on each object in sequence, but they can be overriden to create
102 // combined tool targets out of multiple inputs.
103
113
121
129};
#define PURE_VIRTUAL(func,...)
Definition CoreMiscDefines.h:103
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
UEBinkAudioDecodeInterface * Interface
Definition binka_ue_decode_test.cpp:24
Definition ToolTarget.h:54
FToolTargetTypeRequirements(const UClass *Interface0)
Definition ToolTarget.h:63
TArray< const UClass *, TInlineAllocator< 5 > > Interfaces
Definition ToolTarget.h:57
FToolTargetTypeRequirements(const TArray< const UClass * > &InterfacesIn)
Definition ToolTarget.h:68
FToolTargetTypeRequirements()
Definition ToolTarget.h:59
FToolTargetTypeRequirements & Add(UClass *Interface)
Definition ToolTarget.h:73
Definition Array.h:670
UE_NODEBUG UE_FORCEINLINE_HINT SizeType Add(ElementType &&Item)
Definition Array.h:2696
Definition Class.h:3793
TArray< FImplementedInterface > Interfaces
Definition Class.h:4010
Definition Object.h:95
Definition ToolTarget.h:92
virtual UToolTarget * BuildTarget(UObject *SourceObject, const FToolTargetTypeRequirements &TargetTypeInfo) PURE_VIRTUAL(UToolTargetFactory
Definition ToolTarget.h:97
virtual bool CanBuildTarget(UObject *SourceObject, const FToolTargetTypeRequirements &TargetTypeInfo) const PURE_VIRTUAL(UToolTargetFactory
Definition ToolTarget.h:96
Definition ToolTarget.h:40
virtual bool IsValid() const PURE_VIRTUAL(UToolTarget
Definition ToolTarget.h:45
@ false
Definition radaudio_common.h:23