UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FViewportDisplayDelegate Struct Reference

#include <ViewportStatsSubsystem.h>

Public Member Functions

 FViewportDisplayDelegate ()=default
 
 FViewportDisplayDelegate (FViewportDisplayCallback const &D)
 
 FViewportDisplayDelegate (FShouldDisplayFunc &&Callback)
 
bool Execute (FText &OutText, FLinearColor &OutColor)
 
bool IsBound () const
 
void Unbind ()
 
 FViewportDisplayDelegate (FViewportDisplayDelegate &&)=default
 
 FViewportDisplayDelegate (const FViewportDisplayDelegate &)=delete
 
FViewportDisplayDelegateoperator= (FViewportDisplayDelegate &&)=default
 
FViewportDisplayDelegateoperator= (const FViewportDisplayDelegate &)=delete
 

Public Attributes

FViewportDisplayCallback FuncDynDelegate
 
FShouldDisplayFunc FuncCallback
 

Detailed Description

Wrapper to allow multiple delegate types to be held in one container for the subsystem

Constructor & Destructor Documentation

◆ FViewportDisplayDelegate() [1/5]

FViewportDisplayDelegate::FViewportDisplayDelegate ( )
default

◆ FViewportDisplayDelegate() [2/5]

FViewportDisplayDelegate::FViewportDisplayDelegate ( FViewportDisplayCallback const &  D)
inline

◆ FViewportDisplayDelegate() [3/5]

FViewportDisplayDelegate::FViewportDisplayDelegate ( FShouldDisplayFunc &&  Callback)
inline

◆ FViewportDisplayDelegate() [4/5]

FViewportDisplayDelegate::FViewportDisplayDelegate ( FViewportDisplayDelegate &&  )
default

◆ FViewportDisplayDelegate() [5/5]

FViewportDisplayDelegate::FViewportDisplayDelegate ( const FViewportDisplayDelegate )
delete

Member Function Documentation

◆ Execute()

bool FViewportDisplayDelegate::Execute ( FText OutText,
FLinearColor OutColor 
)

◆ IsBound()

bool FViewportDisplayDelegate::IsBound ( ) const
inline

◆ operator=() [1/2]

FViewportDisplayDelegate & FViewportDisplayDelegate::operator= ( const FViewportDisplayDelegate )
delete

◆ operator=() [2/2]

FViewportDisplayDelegate & FViewportDisplayDelegate::operator= ( FViewportDisplayDelegate &&  )
default

◆ Unbind()

void FViewportDisplayDelegate::Unbind ( )

Member Data Documentation

◆ FuncCallback

FShouldDisplayFunc FViewportDisplayDelegate::FuncCallback

◆ FuncDynDelegate

FViewportDisplayCallback FViewportDisplayDelegate::FuncDynDelegate

The documentation for this struct was generated from the following files: