FSlateBoxBrush::FSlateBoxBrush

Make a 3x3 box that stretches the texture.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Brushes/SlateBoxBrush.h"

Syntax

FSlateBoxBrush
(
    UObject * InResourceObject,
    const FMargin & InMargin,
    const FSlateColor & InColorAndOpacity,
    ESlateBrushImageType::Type InImageType
)

Remarks

Make a 3x3 box that stretches the texture.

Parameters

Parameter

Description

InResourceObject

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

InMargin

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

InColorAndOpacity

Color and opacity scale.

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