Advanced Menu System  1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
UCreditsWidget Class Reference

Credits widget. More...

#include <CreditsWidget.h>

+ Inheritance diagram for UCreditsWidget:

Public Member Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnCreditsFinished)
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnCreditsClose)
 
 UCreditsWidget (const FObjectInitializer &ObjectInitializer)
 
virtual void NativeOnInitialized () override
 
virtual void NativeConstruct ()
 
virtual void SynchronizeProperties () override
 
virtual void NativeTick (const FGeometry &MyGeometry, float InDeltaTime)
 
void ScrollTheBox (float InDeltaTime)
 
void SetTitleTextColor (FColor Color)
 
void SetTitleTextFont (FSlateFontInfo Font)
 
void SetBodyTextColor (FColor Color)
 
void SetBodyTextFont (FSlateFontInfo Font)
 
FORCEINLINE bool IsFinished () const
 
void CloseCredits ()
 

Public Attributes

UScrollBox * ScrollBox
 
UCanvasPanel * CanvasPanel
 
UButton * SkipButton
 
bool bHasSkipButton
 Whether or not has the skip button. More...
 
float ScrollSpeed
 Credits scroll speed. More...
 
TArray< FCreditSectionSections
 Text Sections More...
 
FMargin SectionsMargin
 Margin beetwen sections. More...
 
TEnumAsByte< ETextJustify::Type > Justification
 Credits text justification. More...
 
TArray< UVerticalBox * > SectionsBoxes
 
TArray< UTextBlock * > TitleLines
 
TArray< UTextBlock * > BodyLines
 
FOnCreditsClose OnCreditsClose
 
FOnCreditsFinished OnCreditsFinished
 
FColor SectionTitleTextColor
 
FSlateFontInfo SectionTitleTextFont
 
FMargin TitleTextMargin
 
FColor SectionBodyTextColor
 
FSlateFontInfo SectionBodyTextFont
 
FMargin BodyTextMargin
 
ESkipTypes SkipType
 
bool bCloseOnFinish
 
UCommonActivatableWidgetContainerBase * ActivatableWidget
 
TSubclassOf< UCommonActivatableWidget > ActivatableWidgetToOpen
 
bool bFinished
 

Protected Member Functions

void AddCreditText ()
 
void OnSkipPress ()
 

Detailed Description

Credits widget.

Constructor & Destructor Documentation

◆ UCreditsWidget()

UCreditsWidget::UCreditsWidget ( const FObjectInitializer &  ObjectInitializer)

Member Function Documentation

◆ AddCreditText()

void UCreditsWidget::AddCreditText ( )
protected

◆ CloseCredits()

void UCreditsWidget::CloseCredits ( )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE() [1/2]

UCreditsWidget::DECLARE_DYNAMIC_MULTICAST_DELEGATE ( FOnCreditsClose  )

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE() [2/2]

UCreditsWidget::DECLARE_DYNAMIC_MULTICAST_DELEGATE ( FOnCreditsFinished  )

◆ IsFinished()

FORCEINLINE bool UCreditsWidget::IsFinished ( ) const
inline

◆ NativeConstruct()

void UCreditsWidget::NativeConstruct ( )
virtual

◆ NativeOnInitialized()

void UCreditsWidget::NativeOnInitialized ( )
overridevirtual

◆ NativeTick()

void UCreditsWidget::NativeTick ( const FGeometry &  MyGeometry,
float  InDeltaTime 
)
virtual

◆ OnSkipPress()

void UCreditsWidget::OnSkipPress ( )
protected

◆ ScrollTheBox()

void UCreditsWidget::ScrollTheBox ( float  InDeltaTime)

◆ SetBodyTextColor()

void UCreditsWidget::SetBodyTextColor ( FColor  Color)

◆ SetBodyTextFont()

void UCreditsWidget::SetBodyTextFont ( FSlateFontInfo  Font)

◆ SetTitleTextColor()

void UCreditsWidget::SetTitleTextColor ( FColor  Color)

◆ SetTitleTextFont()

void UCreditsWidget::SetTitleTextFont ( FSlateFontInfo  Font)

◆ SynchronizeProperties()

void UCreditsWidget::SynchronizeProperties ( )
overridevirtual

Member Data Documentation

◆ ActivatableWidget

UCommonActivatableWidgetContainerBase* UCreditsWidget::ActivatableWidget

◆ ActivatableWidgetToOpen

TSubclassOf<UCommonActivatableWidget> UCreditsWidget::ActivatableWidgetToOpen

◆ bCloseOnFinish

bool UCreditsWidget::bCloseOnFinish

◆ bFinished

bool UCreditsWidget::bFinished

◆ bHasSkipButton

bool UCreditsWidget::bHasSkipButton

Whether or not has the skip button.

◆ BodyLines

TArray<UTextBlock*> UCreditsWidget::BodyLines

◆ BodyTextMargin

FMargin UCreditsWidget::BodyTextMargin

◆ CanvasPanel

UCanvasPanel* UCreditsWidget::CanvasPanel

◆ Justification

TEnumAsByte<ETextJustify::Type> UCreditsWidget::Justification

Credits text justification.

◆ OnCreditsClose

FOnCreditsClose UCreditsWidget::OnCreditsClose

◆ OnCreditsFinished

FOnCreditsFinished UCreditsWidget::OnCreditsFinished

◆ ScrollBox

UScrollBox* UCreditsWidget::ScrollBox

◆ ScrollSpeed

float UCreditsWidget::ScrollSpeed

Credits scroll speed.

◆ SectionBodyTextColor

FColor UCreditsWidget::SectionBodyTextColor

◆ SectionBodyTextFont

FSlateFontInfo UCreditsWidget::SectionBodyTextFont

◆ Sections

TArray<FCreditSection> UCreditsWidget::Sections

Text Sections

◆ SectionsBoxes

TArray<UVerticalBox*> UCreditsWidget::SectionsBoxes

◆ SectionsMargin

FMargin UCreditsWidget::SectionsMargin

Margin beetwen sections.

◆ SectionTitleTextColor

FColor UCreditsWidget::SectionTitleTextColor

◆ SectionTitleTextFont

FSlateFontInfo UCreditsWidget::SectionTitleTextFont

◆ SkipButton

UButton* UCreditsWidget::SkipButton

◆ SkipType

ESkipTypes UCreditsWidget::SkipType

◆ TitleLines

TArray<UTextBlock*> UCreditsWidget::TitleLines

◆ TitleTextMargin

FMargin UCreditsWidget::TitleTextMargin