Navigation
API > API/Plugins > API/Plugins/CommonUI > API/Plugins/CommonUI/UCommonLazyImage
- UImage::SetBrushFromTextureDynamic()
- UCommonLazyImage::SetBrushFromTextureDynamic()
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonLazyImage.h |
| Include | #include "CommonLazyImage.h" |
| Source | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Private/CommonLazyImage.cpp |
virtual void SetBrushFromTextureDynamic
&40;
UTexture2DDynamic &42; Texture,
bool bMatchSize
&41;
Remarks
Sets the Brush to the specified Dynamic Texture.
Parameters
| Name | 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. |