UInvalidationBox

Invalidate Single Child Caching / Performance

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/InvalidationBox.h"

Syntax

class UInvalidationBox : public UContentWidget

Remarks

Invalidate Single Child Caching / Performance

Variables

Name Description

Protected variable

bool

 

bCanCache

Should the invalidation panel cache the widgets? Making this false makes it so the invalidation panel stops acting like an invalidation panel, just becomes a simple container widget.

Protected variable

TSharedPtr< cla...

 

MyInvalidationPanel

Constructors

Name Description

Public function

UInvalidationBox

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

GetCanCache()

Public function

void

 

SetCanCache

(
    bool CanCache
)

Tell the InvalidationBox to use the invalidation process.

Overridden from UPanelWidget

Name Description

Protected function Virtual

void

 

OnSlotAdded

(
    UPanelSlot* Slot
)

Protected function Virtual

void

 

OnSlotRemoved

(
    UPanelSlot* Slot
)

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Deprecated Variables

Name Description

Protected variable

bool

 

CacheRelativeTransforms_DEPRECATED

Caches the locations for child draw elements relative to the invalidation box, this adds extra overhead to drawing them every frame.

Deprecated Functions

Name Description

Public function

void

 

InvalidateCache()

InvalidationCache is not used.

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