UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UserWidgetBlueprint.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Engine/Blueprint.h"
6#include "UserWidgetBlueprint.generated.h"
7
8UCLASS(Abstract, MinimalAPI)
10{
12
13public:
15 virtual bool AllowEditorWidget() const { return false; }
16
17 virtual bool ShouldAutomaticallyRegisterInputOnConstruction() const override { return true; }
18};
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
Definition Blueprint.h:403
Definition UserWidgetBlueprint.h:10
virtual bool AllowEditorWidget() const
Definition UserWidgetBlueprint.h:15
virtual bool ShouldAutomaticallyRegisterInputOnConstruction() const override
Definition UserWidgetBlueprint.h:17