Navigation
API > API/Runtime > API/Runtime/SlateCore
Ignores the Margin. Just renders the image. Can tile the image instead of stretching.
| Name | FSlateDynamicImageBrush |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Brushes/SlateDynamicImageBrush.h |
| Include Path | #include "Brushes/SlateDynamicImageBrush.h" |
Syntax
struct FSlateDynamicImageBrush :
public FSlateBrush ,
public TSharedFromThis< FSlateDynamicImageBrush >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSlateDynamicImageBrush
- FSlateBrushFixLayout → FSlateBrush → FSlateDynamicImageBrush
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateDynamicImageBrush
(
const FName InTextureName, |
Brushes/SlateDynamicImageBrush.h | ||
FSlateDynamicImageBrush
(
UTexture2D* InTexture, |
Brushes/SlateDynamicImageBrush.h | ||
FSlateDynamicImageBrush
(
UTexture2DDynamic* InTexture, |
Brushes/SlateDynamicImageBrush.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSlateDynamicImageBrush() |
Destructor. | Brushes/SlateDynamicImageBrush.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInitalized | bool | If the resource has been initialized | Brushes/SlateDynamicImageBrush.h | |
| bRemoveResourceFromRootSet | bool | Tracks if Resource was in root set to avoid unnecessary removing it from there. | Brushes/SlateDynamicImageBrush.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ReleaseResource() |
Releases the resource when it is safe to do so | Brushes/SlateDynamicImageBrush.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FSlateDynamicImageBrush > CreateWithImageData
(
const FName InTextureName, |
Brushes/SlateDynamicImageBrush.h |