Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UImage
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 |
UFUNCTION (BlueprintCallable, Category="Appearance")
virtual void SetBrushFromAtlasInterface
(
TScriptInterface< ISlateTextureAtlasInterface > AtlasRegion,
bool bMatchSize
)
Remarks
Sets the Brush to the specified Atlas Region.
Parameters
| Name | Description |
|---|---|
| AtlasRegion | Region of the Atlas to use to set on Brush. |
| bMatchSize | If true, image will change its size to atlas region size. If false, atlas region will be stretched to image size. |