FSlateBrush::FSlateBrush

This constructor is protected; use one of the deriving classes instead.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateBrush.h

Include

#include "Styling/SlateBrush.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Styling/SlateBrush.cpp

Syntax

FSlateBrush
(
    ESlateBrushDrawType::Type InDrawType,
    const FName InResourceName,
    const FMargin & InMargin,
    ESlateBrushTileType::Type InTiling,
    ESlateBrushImageType::Type InImageType,
    const FVector2D & InImageSize,
    const FLinearColor & InTint,
    UObject * InObjectResource,
    bool bInDynamicallyLoaded
)

Remarks

This constructor is protected; use one of the deriving classes instead.

Parameters

Parameter

Description

InDrawType

How to draw the texture

InResourceName

The name of the resource

InMargin

Margin to use in border and box modes

InTiling

Tile horizontally/vertically or both? (only in image mode)

InImageType

The type of image

InTint

Tint to apply to the element.

InOutlineSettings

Optional Outline Border Settings for RoundedBox mode