UImage::SetBrushFromTextureDynamic

Sets the Brush to the specified Dynamic Texture.

Windows
MacOS
Linux

Override Hierarchy

UImage::SetBrushFromTextureDynamic()

UCommonLazyImage::SetBrushFromTextureDynamic()

References

Module

UMG

Header

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

Include

#include "Components/Image.h"

Source

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

Syntax

virtual void SetBrushFromTextureDynamic
(
    UTexture2DDynamic * Texture,
    bool bMatchSize
)

Remarks

Sets the Brush to the specified Dynamic Texture.

Parameters

Parameter

Description

Texture

Dynamic Texture to use to set on Brush.

bMatchSize

If true, image will change its size to texture size. If false, texture will be stretched to image size.

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