Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateDynamicImageBrush.h |
Include |
#include "Brushes/SlateDynamicImageBrush.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Brushes/SlateDynamicImageBrush.cpp |
static TSharedPtr< FSlateDynamicImageBrush > CreateWithImageData
(
const FName InTextureName,
const FVector2D & InImageSize,
const TArray< uint8 > & InImageData,
const FLinearColor & InTint,
ESlateBrushTileType::Type InTiling,
ESlateBrushImageType::Type InImageType
)
Parameter |
Description |
---|---|
InTextureName |
The name to use when registering the image data as a texture. |
InImageSize |
How large should the image be (not necessarily the image size on disk) |
InImageData |
The raw image data formatted as BGRA |
InTint |
The tint of the image. |
InTiling |
How do we tile if at all? |
InImageType |
The type of image this this is |