FSlateBrush::FSlateBrush

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

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.

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