UCommonLazyImage::SetBrushFromLazyTexture

Set the brush from a lazy texture asset pointer - will load the texture as needed.

Windows
MacOS
Linux

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonLazyImage.h

Include

#include "CommonLazyImage.h"

Source

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/CommonLazyImage.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category=LazyImage)
void SetBrushFromLazyTexture
(
    const TSoftObjectPtr< UTexture2D > & LazyTexture,
    bool bMatchSize
)

Remarks

Set the brush from a lazy texture asset pointer - will load the texture as needed.

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