FSlateDynamicImageBrush

Ignores the Margin. Just renders the image. Can tile the image instead of stretching.

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateBrush

TSharedFromThis

FSlateDynamicImageBrush

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateDynamicImageBrush.h

Include

#include "Brushes/SlateDynamicImageBrush.h"

Syntax

struct FSlateDynamicImageBrush :
    public FSlateBrush,
    public TSharedFromThis< FSlateDynamicImageBrush >

Remarks

Ignores the Margin. Just renders the image. Can tile the image instead of stretching.

Constructors

Name Description

Public function

FSlateDynamicImageBrush

(
    const FName InTextureName,
    const FVector2D& InImageSize,
    const FLinearColor& InTint,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageT...
)

Public function

FSlateDynamicImageBrush

(
    UTexture2D* InTexture,
    const FVector2D& InImageSize,
    const FName InTextureName,
    const FLinearColor& InTint,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageT...
)

Public function

FSlateDynamicImageBrush

(
    UTexture2DDynamic* InTexture,
    const FVector2D& InImageSize,
    const FName InTextureName,
    const FLinearColor& InTint,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageT...
)

Destructors

Name Description

Public function Virtual

~FSlateDynamicImageBrush()

Destructor.

Functions

Name Description

Public function Static

TSharedPtr< ...

 

CreateWithImageData

(
    const FName InTextureName,
    const FVector2D& InImageSize,
    const TArray< uint8 >& InImageData,
    const FLinearColor& InTint,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageT...
)

Public function

void

 

ReleaseResource()

Releases the resource when it is safe to do so

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