FSlateBoxBrush::FSlateBoxBrush

Make a 3x3 box that stretches the texture.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Brushes/SlateBoxBrush.h"

Syntax

FSlateBoxBrush
(
    const FName & InImageName,
    const FMargin & InMargin,
    const FLinearColor & InColorAndOpacity,
    ESlateBrushImageType::Type InImageType
)

Remarks

Make a 3x3 box that stretches the texture.

Parameters

Parameter

Description

InImageName

The name of image to make into a box

InMargin

The size of corners and sides in normalized texture UV space.

InColorAndOpacity

Color and opacity scale.