UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InputDelegateBinding.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8#include "InputDelegateBinding.generated.h"
9
10class UInputComponent;
11
12USTRUCT()
14{
16
17 UPROPERTY()
18 uint32 bConsumeInput:1;
19
20 UPROPERTY()
21 uint32 bExecuteWhenPaused:1;
22
23 UPROPERTY()
24 uint32 bOverrideParentBinding:1;
25
27 : bConsumeInput(true)
28 , bExecuteWhenPaused(false)
29 , bOverrideParentBinding(true)
30 {
31 }
32};
33
34UCLASS(abstract, MinimalAPI)
36{
38
39
45 virtual void BindToInputComponent(UInputComponent* InputComponent, UObject* ObjectToBindTo) const { };
46
48 UE_DEPRECATED(5.6, "SupportsInputDelegate is deprecated. All UClasses will be considered valid for input delegate support.")
49 static ENGINE_API bool SupportsInputDelegate(const UClass* InClass);
50
58 static ENGINE_API void BindInputDelegates(const UClass* InClass, UInputComponent* InputComponent, UObject* ObjectToBindTo = nullptr);
59
64 static ENGINE_API void BindInputDelegatesWithSubojects(AActor* InActor, UInputComponent* InputComponent);
65
66protected:
68};
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Actor.h:257
Definition Class.h:3793
Definition DynamicBlueprintBinding.h:20
Definition InputComponent.h:729
Definition InputDelegateBinding.h:36
static ENGINE_API TSet< UClass * > InputBindingClasses
Definition InputDelegateBinding.h:67
Definition Object.h:95
@ false
Definition radaudio_common.h:23
Definition InputDelegateBinding.h:14