FSlateImageBrush::FSlateImageBrush

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Brushes/SlateImageBrush.h"

Syntax

FSlateImageBrush
(
    const FName & InImageName,
    const FVector2D & InImageSize,
    const FLinearColor & InTint,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageType
)

Parameters

Parameter

Description

InImageName

The name of the texture to draw

InImageSize

How large should the image be (not necessarily the image size on disk)

InTint

The tint of the image.

InTiling

How do we tile if at all?

InImageType

The type of image this this is

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