FSlateImageBrush::FSlateImageBrush

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Brushes/SlateImageBrush.h"

Syntax

FSlateImageBrush
(
    UObject * InResourceObject,
    const FVector2D & InImageSize,
    const FSlateColor & InTint,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageType
)

Parameters

Parameter

Description

InResourceObject

The image to render for this brush, can be a UTexture, UMaterialInterface, or AtlasedTextureInterface

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