UWidgetComponent::ShouldDrawWidget

Allows subclasses to control if the widget should be drawn. Called right before we draw the widget.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h

Include

#include "Components/WidgetComponent.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp

Syntax

virtual bool ShouldDrawWidget() const

Remarks

Allows subclasses to control if the widget should be drawn. Called right before we draw the widget.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss