| UImage::SetBrushFromTexture()
|
Module |
|
Header |
/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonLazyImage.h |
Include |
#include "CommonLazyImage.h" |
Source |
/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/CommonLazyImage.cpp |
virtual void SetBrushFromTexture
(
UTexture2D * Texture,
bool bMatchSize
)
Sets the Brush to the specified Texture.
Parameter |
Description |
---|---|
Texture |
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. |